INSERT | Presto Connector | Teradata QueryGrid - INSERT Syntax for the Presto Connector - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

Product
Teradata QueryGrid
Release Number
2.19
Published
July 2022
Language
English (United States)
Last Update
2022-07-28
dita:mapPath
jpf1654813554544.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

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 system 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 system, and TD_CARDATA is the table to insert to on Teradata system.