Connectors → Custom CData
About the Custom CData Connector
With the Custom CData Connector, you can use a CDATA JDBC driver to ingest data from any of the over 200 databases, applications, and object stores supported by CData JDBC drivers.
The Custom CData connector requires a JAR file containing the JDBC Driver. Custom CData connectors may not have been verified or tested by Incorta. Please contact Incorta Support to request the JAR file. Note that the CData Driver may require additional licensing. You can review the CDATA JDBC driver documentation at Drivers & Data Connectors but note that installation instructions for Incorta may differ from the CData documentation.
The Custom CDATA connector requires the deployment of a JAR file to each node in your Incorta cluster hosting at least one of the Analytics and Loader services. A Node hosting just the Cluster Management Console (CMC) or just Spark does not require the JAR file. A systems administrator with root access to the required host(s) can deploy the JAR file. A CMC Administrator can restart the Incorta cluster.
The Custom CData connector supports the following Incorta specific functionality:
Feature | Supported |
---|---|
Chunking | |
Data Agent | |
Encryption at Ingest | |
Incremental Load | ✔ |
Load Filter | ✔ |
Multi-Source | ✔ |
OAuth | ✔ |
Performance Optimized | ✔ |
Single-Source | ✔ |
Spark Extraction | |
Webhook Callbacks | ✔ |
Deploy the JAR file
The Custom CData Connector requires a JAR file for the related JDBC driver. Here is an example for Snowflake:
cdata.jdbc.snowflake.jar
For the Driver class name, refer to CData JDBC Driver Documentation
To use the Custom CData connector, a System Administrator with root access will need to copy the JDBC driver JAR file to each Incorta Node in an Incorta cluster. A CMC Administrator will need to restart each Analytics and Loader Services in the cluster.
Here are the steps to copy the JAR file to standalone Incorta cluster:
- Contact Incorta Support and download the Customer CData connector driver JAR file.
- Copy the
cdata.jdbc.xyz.jar
file to the host of the Analytics Service and Loader Service. - For each Analytics Service and Loader Service host, copy the JAR file to the
/IncortaNode/extensions/connectors/customCdata
directory.
Restart the Analytics and Loader Services
Here are the steps to restart the Analytics and Loader Services in an Incorta Cluster from the Cluster Management Console (CMC).
- As the CMC Administrator, sign in to the CMC.
- In the Navigation bar, select Clusters.
- In the cluster list, select a Cluster name.
- Select the Details tab, if not already selected.
- In the footer, select Restart.
Steps to connect a data source
To connect a data source and Incorta, here are the high level steps, tools, and procedures:
- Create an external data source
- Create a physical schema with the Schema Designer
- Load the physical schema
- Explore the physical schema
Create an external data source
Here are the steps to create a external data source with the Custom CData connector:
- Sign in to the Incorta Direct Data Platform™.
- In the Navigation bar, select Data.
- In the Action bar, select + New → Add Data Source.
- In the Choose a Data Source dialog, in Custom, select Custom CData.
- In the New Data Source dialog, specify the applicable connector properties.
- To test, select Test Connection.
- Select Ok to save your changes.
Custom CData connector properties
Here are the properties for the Custom CData connector:
Property | Control | Description |
---|---|---|
Data Source Name | text box | Enter the name of the data source |
Driver Class | text box | Enter the driver class for the database. For example, the Snowflake driver name is cdata.jdbc.xyz.XYZDriver . To find the drive name, refer to the "Establishing a Connection" article in the CData JDBC Driver for XYZ documentation. |
Connection String | text box | Enter the jdbc connection string. |
Show Catalogs | toggle | Enable to list any data catalogs |
Show Schemas | toggle | Enable to list any data schema |
Enable OAuth | toggle | Enable to allow OAuth authentication |
OAuth Client Id | text box | The client ID assigned when you register your application with an OAuth authorization server. |
OAuth Client Secret | text box | The client secret assigned when you register your application with an OAuth authorization server. |
Create a physical schema with the Schema Designer
Here are the steps to create a custom SQL physical schema using the Schema Designer:
- Sign in to the Incorta Direct Data Platform™.
- In the Navigation bar, select Schema.
- In the Action bar, select + New → Create Schema.
- In Name, specify the physical schema name, and select Save.
- In Start adding tables to your schema, select SQL Database.
- In the Data Source dialog, specify the Custom CData table data source properties.
- Select Add.
- In the Table Editor, in the Table Summary section, enter the table name.
- To save your changes, select Done in the Action bar.
Custom CData table data source properties
For a physical schema table in Incorta, you can define the following Custom CData specific data source properties as follows:
Property | Control | Description |
---|---|---|
Type | drop down list | Default is SQL Database |
Data Source | drop down list | Select the Custom CData external data source |
Incremental | toggle | Enable the incremental load configuration for the physical schema table |
Fetch Size | text box | Used for performance improvement, fetch size defines the number of records that will be retrieved from the database in each batch until all records are retrieved. The default is 5000. |
Query | text box | Enter the SQL query to retrieve data from the Custom CData database table. This is a SELECT statement for a SQL query. You must specify a FROM clause. You need to know the Table Name. A file name will serve as a table name. |
Update Query | text box | Enable Incremental to configure this property. Enter the SQL query to retrieve data updates from the Custom CData database table. |
Incremental Field Type | drop down list | Enable Incremental to configure this property. Select the format of the table date column: ● Timestamp ● Unix Epoch (seconds) ● Unix Epoch (milliseconds) |
Callback | toggle | Enable this option to call back on the source data set |
Callback URL | text box | Enable Callback to configure this property. Specify the URL. |
View the physical schema diagram with the Schema Diagram Viewer
Here are the steps to view the physical schema diagram using the Schema Diagram Viewer:
- Sign in to the Incorta Direct Data Platform™.
- In the Navigation bar, select Schema.
- In the list of schemas, select the Custom CData schema.
- In the Schema Designer, in the Action bar, select Diagram.
Load the physical schema
Here are the steps to perform a Full Load of the Custom CData physical schema using the Schema Designer:
- Sign in to the Incorta Direct Data Platform™.
- In the Navigation bar, select Schema.
- In the list of schemas, select the Custom CData schema.
- In the Schema Designer, in the Action bar, select Load → Load Now → Full.
- To review the load status, in Last Load Status, select the date.
Explore the physical schema
With the full load of the Custom CData physical schema complete, you can use the Analyzer to explore the schema, create your first insight, and save the insight to a new dashboard.
To open the Analyzer from the schema, follow these steps:
- In the Navigation bar, select Schema.
- In the Schema Manager, in the List view, select the Custom CData schema.
- In the Schema Designer, in the Action bar, select Explore Data.
Known Issue
- Loading schemas created based on some custom CData connectors might fail with the following error:
A table could not be found that matches #DUMMY
. To solve this issue, add theSupportEnhancedSql
property to the connection string and set it totrue
, for example,jdbc:googleads:InitiateOAuth=OFF;DeveloperToken=myDeveloperToken;ClientCustomerId=myClientCustomerId;SupportEnhancedSql=true;
.