D toc |
---|
This section provides information on how to enable connection to Teradata databases.
- Teradata provides Datawarehousing & Analytics solutions and Marketing applications. The Teradata database supports all of their Datawarehousing solutions. For more information, see http://www.teradata.com.
For more information on supported versions, see Connection Types.
This connection supports reading and writing. You can create multiple Teradata connections in the
D s webapp |
---|
Limitations
- By default, Teradata does not permit the publication of datasets containing duplicate rows. Workarounds:
Your final statement for any recipe that generates results for Teradata should include a
Remove duplicate rows
transformation.Info NOTE: The above transformation removes exact, case-sensitive duplicate rows. Teradata may still prevent publication for case-insensitive duplicates.
- It's possible to change the default writing method to Teradata to enable duplicate rows. For more information, contact
.D s support
Download and Install Teradata drivers
To enable connectivity, you must download and install the Teradata drivers into an accessible location on the
D s node | ||
---|---|---|
|
Info |
---|
NOTE: Please download and install the Teradata driver that corresponds to your version of Teradata. For more information on supported versions, see Connection Types. |
Steps:
- If you don't have a Teradata developer account, create one here: https://developer.teradata.com/user/register
- Log in to the account. Navigate to http://downloads.teradata.com/download/connectivity/jdbc-driver
- Download the JDBC driver in ZIP or TAR form.
- Copy the downloaded ZIP or TAR file to the
.D s node - Extract and place the two JAR files into a folder accessible to the
.D s item item user - Verify that the
is the owner of both of these JAR files and their parent folder.D s item item user D s config - Locate the
data-service.classpath
. To the classpath value for the drivers directory:- Add a prefix of
:
. - Add a suffix of
/*
.
- Add a prefix of
- Example:
Was:
Code Block /opt/trifacta/drivers/
Updated:
Code Block :/opt/trifacta/drivers/*
- Whole classpath example:
Was:
Code Block "data-service": { ... "classpath": "%(topOfTree)s/services/data-service/build/libs/data-service.jar:%(topOfTree)s/services/data-service/build/conf:%(topOfTree)s/services/data-service/build/dependencies/*"
Updated:
Code Block "data-service": { ... "classpath": "%(topOfTree)s/services/data-service/build/libs/data-service.jar:%(topOfTree)s/services/data-service/build/conf:%(topOfTree)s/services/data-service/build/dependencies/*:/opt/trifacta/drivers/*"
- Save your changes and restart the platform.
Increase Read Timeout
Particular when reading from large Teradata tables, you might experience read timeouts in the
D s webapp |
---|
The default setting is 300
seconds (5 minutes). You should consider raising this limit if you are working with large tables.
For more information, see Configure Photon Running Environment.
Create Teradata Connection
For more information on creating a Teradata connection, see Create Connection Window.
Testing
Steps:
- After you create your connection, load a small dataset based on a table in the connected Teradata database. See Import Data Page.
- Perform a few simple transformations to the data. Run the job. See Transformer Page.
- Verify the results.
For more information, see Verify Operations.