![]() |
VOOZH | about |
Snowflake is a leading cloud data warehouse and a popular backbone for enterprise BI, analytics, data management, and governance initiatives. Snowflake offers features such as data sharing, real-time data processing, and secure data storage which makes it a common choice for cloud data consolidation.
The CData SSIS Components enhance SQL Server Integration Services by enabling users to easily import and export data from various sources and destinations.
In this article, we explore the data type mapping considerations when exporting to Snowflake and walk through how to migrate Google Analytics data to Snowflake using the CData SSIS Components for Google Analytics and Snowflake.
| Snowflake Schema | CData Schema |
|---|---|
|
NUMBER, DECIMAL, NUMERIC, INT, INTEGER, BIGINT, SMALLINT, TINYINT, BYTEINT |
decimal |
|
DOUBLE, FLOAT, FLOAT4, FLOAT8, DOUBLEPRECISION, REAL |
real |
|
VARCHAR, CHAR, STRING, TEXT, VARIANT, OBJECT, ARRAY, GEOGRAPHY |
varchar |
|
BINARY, VARBINARY |
binary |
|
BOOLEAN |
bool |
|
DATE |
date |
|
DATETIME, TIMESTAMP, TIMESTAMP_LTZ, TIMESTAMP_NTZ, TIMESTAMP_TZ |
datetime |
|
TIME |
time |
Timestamps: Snowflake supports three timestamp types:
By default the CData SSIS Components write timestamps to Snowflake as TIMESTAMP_NTZ unless manually configured.
Follow the steps below to specify properties required to connect to Google Analytics.
Google uses the OAuth authentication standard. To access Google APIs on behalf on individual users, you can use the embedded credentials or you can register your own OAuth app.
OAuth also enables you to use a service account to connect on behalf of users in a Google Apps domain. To authenticate with a service account, register an application to obtain the OAuth JWT values.
In addition to the OAuth values, set Profile to the profile you want to connect to.
This can be set to either the Id or website URL for the Profile. If not specified, the first Profile returned will be used.
๐ Configure the source connection (Salesforce is shown)
With the Google Analytics Source configured, we can configure the Snowflake connection and map the columns.
You can now run the project. After the SSIS Task has finished executing, data from your SQL table will be exported to the chosen table.
Download a free trial of the Google Analytics SSIS Component to get started:
Download NowLearn more:
๐ Google Analytics IconPowerful SSIS Source Component that allow you to easily connect SQL Server with live Google Analytics data through SSIS Workflows.
Use the Google Analytics Data Flow Components to access all kinds of real-time site traffic and analysis data. Perfect for data synchronization, local back-ups, reporting, and more!