2.06 - INSERT Syntax for the Presto Connector - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

Product
Teradata QueryGrid
Release Number
2.06
Published
September 2018
Language
English (United States)
Last Update
2018-11-26
dita:mapPath
blo1527621308305.ditamap
dita:ditavalPath
ft:empty

You can use Presto to export data to a remote system by using an INSERT statement to place data into an existing table. The remote table can be empty or it can contain data. If the remote table already contains data, the exported data is appended to the existing table.

Example: Presto to Teradata INSERT

The example shows an export request initiated on Presto to insert data into a remote Teradata Database table.

INSERT INTO QG_TD1.DB1.TD_CARDATA SELECT * from hive.default.cardata;

QG_TD1 is the catalog used to reference the Presto-to-Teradata link, DB1 is the Teradata Database, and TD_CARDATA is the table to insert to on Teradata Database.