INSERT Statement | Spark SQL Initiator Connector | Teradata Fabric - INSERT Syntax for the Spark SQL Initiator Connector - Teradata Fabric

Teradata® Fabric - Installation and User Guide - 3.11

Product
Teradata Fabric
Release Number
3.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-15
dita:mapPath
svw1780362788070.ditamap
dita:ditavalPath
ezw1784752870623.ditaval
dita:id
lxg1591800469257

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

Example: Using INSERT with Spark SQL as the Initiator Connector

scala> ForeignServer.sql("insert into default.nn1 values (8, 'user1')")
scala> ForeignServer.sql("insert into default.nn1 select * from players2")