2.06 - create - 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 the create method to create non-native tables (permanent or temporary) to represent target tables. If the non-native table name is in the form of db.tb1 (default.nn1 in the example), a permanent non-native table is created. If the database is not part of the non-native name, a temporary non-native table is created (nn2 in the example). Temporary tables in Spark SQL only exist during the current session and cannot be associated with a database.

The following example shows the Spark SQL initiator using the CREATE statement to create non-native tables:
scala> s1.create("default.nn1","user1.players")

scala> s1.create("nn2","default.test")