2.06 - showColumns - 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

The show*() methods can be used for schema and metadata discovery queries and are equivalent to HELP FOREIGN SERVER/DATABASE/TABLE queries on the Teradata Database. The showColumns method displays the schema of a target table specified by a fully-qualified name (For example: schema.table or database.schema.table).

scala> s1.showColumns("user1.players")
+--------+--------+-------+
|COL_NAME|COL_TYPE|COMMENT|
+--------+--------+-------+
|number  |int     |       |
|name    |string  |       |
+--------+--------+-------+