I've got a Red Hat Linux server and hundreds of CSV files (most of the files are 100mb in size). I have installed Snowflake ODBC Driver on this server and I want to iteratively load these files into respective Snowflake tables. I am looking for a solution on this. Can anybody help please? Thanks.
I am not able to find solution to load the CSV files. Some of the solutions I found on internet just load 1 CSV file by running insert statement and providing field names in insert clause. But in my case there are multiple CSV files and these files have different number of columns. Hence that solution is not feasible.
source https://stackoverflow.com/questions/75778375/load-hundreds-of-csv-files-into-respective-snowflake-tables-using-python-odbc-dr
Comments
Post a Comment