Saltar al contenido principal

Use Fivetran to load data from external sources to Teradata Vantage

Overview

This quickstart demonstrates how to use Fivetran to transfer data from different sources like Google Sheets, PostgreSQL and Amazon S3 into Teradata Vantage.

Load data from Google Sheets to Teradata Vantage

Before You Begin

Make sure you:

  • Have access to a Google account with edit access to the relevant Google Sheet.
  • Have an available named range defined in the Google Sheet.
  • Have connection credentials to a Teradata ClearScape instance.

Prerequisites

Setup Google Sheets

Refer to the Google Sheets Setup Guide to configure sharing permissions and named ranges for data transfer using Fivetran.

Fivetran Setup: Sync from Google Sheets to Teradata

Configure Teradata as Destination

  1. Login to Fivetran Dashboard with valid credentials.

  2. Navigate to Destinations from the left menu.

  3. Click on Add destination. fivetran_add_destination.png

  4. Search for and select Teradata.

  5. Provide a name for the destination and Click Add.

  6. Enter the required connection details.

    • Host: Provide Teradata ClearScape instance hostname
    • Logon Mechanism: TD2
    • Username: Teradata ClearScape username
    • Password: Teradata ClearScape password
    • Database: Target Database Name
    Optional Connection Parameters

    You can provide additional JDBC or destination-specific parameters to customize the connection. These fields are optional and may not be required for all environments:

    SSL Mode: Controls the SSL encryption level. Common values:
    • DISABLE: No SSL
    • ALLOW: SSL if available
    • REQUIRE: Enforce SSL
    • VERIFY_CA: Enforce SSL and validate certificate authority
    • VERIFY_FULL: Enforce SSL, validate certificate authority, and perform hostname verification
    Transaction Mode: Defines how transactions are handled:
    • ANSI: Enables ANSI-compliant transaction behavior
    • TERADATA: Uses Teradata's native transaction mode
    JDBC Parameters: For example:
    • CHARSET=UTF8: Sets the character encoding.
    • ENCRYPTDATA=TRUE: Enables data encryption in transit.
    • Refer to Teradata JDBC Driver Documentation for a full list of supported options. fivetran_setup_teradata.png
  7. Click Save and Test. Ensure the connection test is successful before proceeding.

Setup Connection with Source as Google Sheets

  1. Go to Connections in the Fivetran Dashboard.
  2. Click Add connection.
  3. Search and select Google Sheets.
  4. Click Setup.
  5. Choose the Teradata destination configured in the previous step.
  6. Fill in the Google Sheets source details.
    • Destination schema
    • Destination table
    • Authentication Method - Refer Google Sheets Setup Guide to choose appropriate Authentication Method.
    • Sheet URL
    • Select Named Range fivetran_add_google_sheets.png
  7. Click Save & Test and confirm the connection success.
  8. Click on Continue to begin the initial data load. Wait until the sync status changes to Initial sync complete.

Verify Data in Teradata Vantage

Once the sync is complete, connect to your Teradata Vantage instance using a client like Teradata Studio:

  • Open Teradata Studio and create a new connection.
  • Enter the Teradata hostname, username, and password used during Fivetran setup.
  • Test the connection and click Finish.
  • Navigate to the database
  • Run SELECT query to verify the data from Google Sheets is present.

Load data from PostgreSQL to Teradata Vantage

Prerequisites

  • Access to a Postgres Instance.

  • Access to a Teradata Vantage instance.

    Nota

    If you need a test instance of Vantage, you can provision one for free at https://clearscape.teradata.com

Setup PostgreSQL

Refer to the Postgres Setup Guide to configure postgres on Fivetran.

Fivetran Setup: Sync from Posgtres to Teradata

Configure Teradata as Destination

  1. Login to Fivetran Dashboard with valid credentials.

  2. Navigate to Destinations from the left menu.

  3. Click on Add destination. fivetran_add_destination.png

  4. Search for and select Teradata.

  5. Provide a name for the destination and Click Add.

  6. Enter the required connection details.

    • Host: Provide Teradata ClearScape instance hostname
    • Logon Mechanism: TD2
    • Username: Teradata ClearScape username
    • Password: Teradata ClearScape password
    • Database: Target Database Name
    Optional Connection Parameters

    You can provide additional JDBC or destination-specific parameters to customize the connection. These fields are optional and may not be required for all environments:

    SSL Mode: Controls the SSL encryption level. Common values:
    • DISABLE: No SSL
    • ALLOW: SSL if available
    • REQUIRE: Enforce SSL
    • VERIFY_CA: Enforce SSL and validate certificate authority
    • VERIFY_FULL: Enforce SSL, validate certificate authority, and perform hostname verification
    Transaction Mode: Defines how transactions are handled:
    • ANSI: Enables ANSI-compliant transaction behavior
    • TERADATA: Uses Teradata's native transaction mode
    JDBC Parameters: For example:
    • CHARSET=UTF8: Sets the character encoding.
    • ENCRYPTDATA=TRUE: Enables data encryption in transit.
    • Refer to Teradata JDBC Driver Documentation for a full list of supported options. fivetran_setup_teradata.png
  7. Click Save and Test. Ensure the connection test is successful before proceeding.

Setup Connection with Source as Postgres

  1. Go to Connections in the Fivetran Dashboard.
  2. Click Add connection.
  3. Search and select Postgres.
  4. Click Setup.
  5. Choose the Teradata destination configured in the previous step.
  6. Fill in the Google Sheets source details.
  7. Enter the required connection details.
    • Host: Provide Postgres instance hostname
    • Port: Provide Port Number
    • User: Postgres instance username
    • Password: Postgres instance password
    • Database: Target Database Name
    • Connection method: Choose Connection Method based on your postgres setup. Refer PostgreSQL Setup instructions for more details on different connection methods setup. This guide uses Connect directly connection method.
    • Update Method: Choose your incremental sync method. This guide uses Logical Replication sync method. fivetran_add_posgres_as_source.png
  8. Click Save & Test and confirm the connection success.
  9. Click on Continue to begin the initial data load. Wait until the sync status changes to Initial sync complete.

Verify Data in Teradata Vantage

Once the sync is complete, connect to your Teradata Vantage instance using a client like Teradata Studio:

  • Open Teradata Studio and create a new connection.
  • Enter the Teradata hostname, username, and password used during Fivetran setup.
  • Test the connection and click Finish.
  • Navigate to the database
  • Run SELECT query to verify the data from Google Sheets is present.

Load data from Amazon S3 to Teradata Vantage

Prerequisites

  • Access to Amazon S3.

  • Access to a Teradata Vantage instance.

    Nota

    If you need a test instance of Vantage, you can provision one for free at https://clearscape.teradata.com

Setup Amazon S3

Refer to the Amazon S3 Setup Guide to configure postgres on Fivetran.

Fivetran Setup: Sync from Amazon S3 to Teradata

Configure Teradata as Destination

  1. Login to Fivetran Dashboard with valid credentials.

  2. Navigate to Destinations from the left menu.

  3. Click on Add destination. fivetran_add_destination.png

  4. Search for and select Teradata.

  5. Provide a name for the destination and Click Add.

  6. Enter the required connection details.

    • Host: Provide Teradata ClearScape instance hostname
    • Logon Mechanism: TD2
    • Username: Teradata ClearScape username
    • Password: Teradata ClearScape password
    • Database: Target Database Name
    Optional Connection Parameters

    You can provide additional JDBC or destination-specific parameters to customize the connection. These fields are optional and may not be required for all environments:

    SSL Mode: Controls the SSL encryption level. Common values:
    • DISABLE: No SSL
    • ALLOW: SSL if available
    • REQUIRE: Enforce SSL
    • VERIFY_CA: Enforce SSL and validate certificate authority
    • VERIFY_FULL: Enforce SSL, validate certificate authority, and perform hostname verification
    Transaction Mode: Defines how transactions are handled:
    • ANSI: Enables ANSI-compliant transaction behavior
    • TERADATA: Uses Teradata's native transaction mode
    JDBC Parameters: For example:
    • CHARSET=UTF8: Sets the character encoding.
    • ENCRYPTDATA=TRUE: Enables data encryption in transit.
    • Refer to Teradata JDBC Driver Documentation for a full list of supported options. fivetran_setup_teradata.png
  7. Click Save and Test. Ensure the connection test is successful before proceeding.

Setup Connection with Source as Amazon S3

  1. Go to Connections in the Fivetran Dashboard.
  2. Click Add connection.
  3. Search and select Amazon S3.
  4. Click Setup.
  5. Choose the Teradata destination configured in the previous step.
  6. Fill in the Google Sheets source details.
  7. Enter the required connection details.
    • Destination schema:
    • Destination table:
    • Connect
      • Bucket: S3 Bucket Name
      • Access approach : Choose Access Key and Secret
      • Access Key ID: Access Key ID of your IAM user.
      • Access Key Secret: Secret Access Key of your IAM user.
    • Compression: Select zip
    • Format
      • File Type: csv

fivetran_setup_teradata.png

  1. Click Save & Test and confirm the connection success. 9Click on Continue to begin the initial data load. Wait until the sync status changes to Initial sync complete.

Verify Data in Teradata Vantage

Once the sync is complete, connect to your Teradata Vantage instance using a client like Teradata Studio:

  • Open Teradata Studio and create a new connection.
  • Enter the Teradata hostname, username, and password used during Fivetran setup.
  • Test the connection and click Finish.
  • Navigate to the database
  • Run SELECT query to verify the data from Google Sheets is present.

Try More Use Cases

Fivetran supports many source and destination combinations. After completing this example, consider:

  • Replicating data from Oracle, Salesforce, or Fivetran supported source to Teradata.

Summary

In this guide, you:

  • Set up different sources like Google Sheets, PostgreSQL and Amazon S3
  • Configured Fivetran to sync data from different sources like Google Sheets, PostgreSQL and Amazon S3 to Teradata Vantage
  • Verified the sync through Teradata Studio

Further reading

Nota

If you have any questions or need further assistance, please visit our community forum where you can get support and interact with other community members.

También de interés