==== ---- 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','' ==== ---- QUERY # Test printing of complex types. describe functional.allcomplextypes ---- TYPES string, string, string ---- RESULTS 'id','int','' 'int_array_col','array','' 'array_array_col','array>','' 'map_array_col','array>','' 'struct_array_col','array>','' 'int_map_col','map','' 'array_map_col','map>','' 'map_map_col','map>','' 'struct_map_col','map>','' 'int_struct_col','struct','' 'complex_struct_col','struct,f3:map>','' 'nested_struct_col','struct>>','' 'complex_nested_struct_col','struct>>>>','' 'year','int','' 'month','int','' ====