You can quickly import data from your Snowflake into Exploratory.
To use the Snowflake Data Source, you need to install ODBC driver.
To Install ODBC Driver for Snowflake for Windows, please follow the instruction
First, you need to install homebrew to manage your packages and you have the necessary admin rights on your machine.
Homebrew installation: link
Install unixodbc
Install with your shell/terminal:
brew install unixodbc
Then follow the instruction to install Mac ODBC Driver. Once installed, now you need to register the ODBC driver.
Since now you installed the unixODBC, you can use odbcinst
command from Terminal. And if you try odbcinst -j
, you can know the location of driver registration file (odbcinst.ini) like below.
➜ ~ odbcinst -junixODBC 2.3.9DRIVERS............: /usr/local/etc/odbcinst.iniSYSTEM DATA SOURCES: /usr/local/etc/odbc.iniFILE DATA SOURCES..: /usr/local/etc/ODBCDataSourcesUSER DATA SOURCES..: /Users/exploratory/.odbc.iniSQLULEN Size.......: 8SQLLEN Size........: 8SQLSETPOSIROW Size.: 8
So add the below to the odbcinst.ini file
[SnowflakeDSIIDriver]APILevel=1ConnectFunctions=YYYDescription=Snowflake DSIIDriver=/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylibDriverODBCVer=03.52SQLLevel=1
First, you want to create a connection for Snowflake.
After filling the below database information:
Host - Snowflake server
Warehouse - Warehouse Name
Database - Database Name
ODBC Driver Name for Snowflake - It shows list of installed drivers. Regardless of the driver selected here, when you publish a Data source that uses the connection, "/usr/lib64/snowflake/odbc/lib/libSnowflake.so" is used for Scheduling. (Both exploratory.io and Collaboration Server have /usr/lib64/snowflake/odbc/lib/libSnowflake.so)
Username - Username of the Snowflake
Password - Password of the Snowflake
Click ‘Test Connection’ button to make sure the information is correct, before you save it.
Select 'Import Database Data' from Add New Data Frame menu.
Click Snowflake to select.
Click "Run" button to see the data back from Snowflake.
If it looks ok, then you can click 'Import' to import the data into Exploratory.