mirror of
https://github.com/apache/impala.git
synced 2026-01-01 09:00:42 -05:00
46 lines
917 B
Plaintext
46 lines
917 B
Plaintext
====
|
|
---- QUERY
|
|
# Simple describe (note Hive does not support this)
|
|
describe functional.alltypes
|
|
---- TYPES
|
|
string, string, string
|
|
---- RESULTS
|
|
'id','int','Add a comment'
|
|
'bool_col','boolean',''
|
|
'tinyint_col','tinyint',''
|
|
'smallint_col','smallint',''
|
|
'int_col','int',''
|
|
'bigint_col','bigint',''
|
|
'float_col','float',''
|
|
'double_col','double',''
|
|
'date_string_col','string',''
|
|
'string_col','string',''
|
|
'timestamp_col','timestamp',''
|
|
'year','int',''
|
|
'month','int',''
|
|
====
|
|
---- QUERY
|
|
USE functional
|
|
====
|
|
---- QUERY
|
|
# Default database
|
|
describe alltypes
|
|
---- TYPES
|
|
string, string, string
|
|
---- RESULTS
|
|
'id','int','Add a comment'
|
|
'bool_col','boolean',''
|
|
'tinyint_col','tinyint',''
|
|
'smallint_col','smallint',''
|
|
'int_col','int',''
|
|
'bigint_col','bigint',''
|
|
'float_col','float',''
|
|
'double_col','double',''
|
|
'date_string_col','string',''
|
|
'string_col','string',''
|
|
'timestamp_col','timestamp',''
|
|
'year','int',''
|
|
'month','int',''
|
|
====
|
|
|