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

QueryGridâ„¢ Installation and User Guide - 3.06

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata QueryGrid
Release Number
3.06
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-07
dita:mapPath
ndp1726122159943.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
lifecycle
latest
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.