![]() |
VOOZH | about |
Google BigQuery is a serverless, highly scalable, and cost-effective data warehouse designed to help organizations turn big data into actionable insights.
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 BigQuery and walk through how to migrate Google Data Catalog data to Google BigQuery using the CData SSIS Components for Google Data Catalog and BigQuery.
| Google BigQuery Schema | CData Schema |
|---|---|
|
STRING, GEOGRAPHY, JSON, INTERVAL |
string |
|
BYTES |
binary |
|
INTEGER |
long |
|
FLOAT |
double |
|
NUMERIC, BIGNUMERIC |
decimal |
|
BOOLEAN |
bool |
|
DATE |
date |
|
TIME |
time |
|
DATETIME, TIMESTAMP |
datetime |
|
STRUCT |
See below |
|
ARRAY |
See below |
Google BigQuery supports two kinds of types for storing compound values in a single row, STRUCT and ARRAY. In some places within Google BigQuery, these are also known as RECORD and REPEATED types.
A STRUCT is a fixed-size group of values that are accessed by name and can have different types. The component flattens structs so their fields can be accessed using dotted names. Note that these dotted names must be quoted.
An ARRAY is a group of values with the same type that can have any size. The component treats the array as a single compound value and reports it as a JSON aggregate. These types may be combined such that a STRUCT type contains an ARRAY field, or an ARRAY field is a list of STRUCT values.
YEAR-MONTH DAY HOUR:MINUTE:SECOND.FRACTION
5-11 -10 -3:0:0.2.5
Follow the steps below to specify properties required to connect to Google Data Catalog.
Google Data Catalog uses the OAuth authentication standard. Authorize access to Google APIs on behalf on individual users or on behalf of users in a domain.
Before connecting, specify the following to identify the organization and project you would like to connect to:
Click the project selection drop-down, and select your organization from the list. Then, click More -> Settings. The organization ID is displayed on this page.
Find this by navigating to the cloud console dashboard and selecting your project from the Select from drop-down. The project ID will be present in the Project info card.
When you connect, the OAuth endpoint opens in your default browser. Log in and grant permissions to the application to completes the OAuth process. For more information, refer to the OAuth section in the Help documentation.
π Configure the source connection (Salesforce is shown)With the Google Data Catalog Source configured, we can configure the Google BigQuery 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 Data Catalog SSIS Component to get started:
Download NowLearn more:
π Google Data Catalog IconPowerful SSIS Source & Destination Components that allows you to easily connect SQL Server with Google Data Catalog through SSIS Workflows.
Use the Google Data Catalog Data Flow Components to synchronize with Google Data Catalog Schemas, Tables, and more. Perfect for data synchronization, local back-ups, workflow automation, and more!