2.10 - DESCRIBE Syntax for the Hive Initiator Connector - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

prodname
Teradata QueryGrid
vrm_release
2.10
created_date
September 2019
category
Administration
Configuration
Installation
User Guide
featnum
B035-5991-099K

The example shows the Hive initiator connector using the DESCRIBE statement to fetch and display metadata from a non-native remote table.

jdbc:hive2://localhost:10000> DESCRIBE cardata_remote;

Result:

+-----------+----------------+--------------------+--+
| col_name  |   data_type    |      comment       |
+-----------+----------------+--------------------+--+
| price     | double         | from deserializer  |
| mileage   | bigint         | from deserializer  |
| make      | varchar(2048)  | from deserializer  |
| model     | varchar(2048)  | from deserializer  |
| trim1     | varchar(2048)  | from deserializer  |
| type1     | varchar(2048)  | from deserializer  |
| cylinder  | int            | from deserializer  |
| liter     | double         | from deserializer  |
| doors     | int            | from deserializer  |
| cruise    | tinyint        | from deserializer  |
| sound     | tinyint        | from deserializer  |
| leather   | tinyint        | from deserializer  |
| dt        | varchar(2048)  | from deserializer  |
| country   | varchar(2048)  | from deserializer  |
+-----------+----------------+--------------------+--+
14 rows selected (0.877 seconds)