Files
impala/testdata/workloads/functional-query/queries/QueryTest/describe.test

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',''
====