Reputation: 13
I have an excel file with a column consisting of ID numbers (around 160k rows). I have to fetch some data related to these IDs from Snowflake. Different columns need various data tables. The tables have around 250k entries each. What is the best way to fetch the data from these tables to the excel file?
I tried loading the excel file into a pandas dataframe and then using pandas read_sql
method to iterate through the IDs and fetch the corresponding data. This is extremely slow given the size of the data. Is there any practical way to approach this?
Excel File format (an example)
Upvotes: 1
Views: 2465
Reputation: 2612
I understand you do not want to load the excel to Snowflake, but the Snowflake data to your excel file.
If this is correct, here are some ways of how to bring Snowflake data to an excel file:
Upvotes: 1