Saving all output to "!!{outputDirectory}!!/stats16.q.raw". Enter "record" with no arguments to stop it. >>> !run !!{qFileDirectory}!!/stats16.q >>> set hive.stats.autogather=false; No rows affected >>> >>> drop table stats16; No rows affected >>> >>> create table stats16 (key int, value string); No rows affected >>> desc formatted stats16; 'col_name','data_type','comment' '# col_name ','data_type ','comment ' '','','' 'key ','int ','None ' 'value ','string ','None ' '','','' '# Detailed Table Information','','' 'Database: ','stats16 ','' 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' 'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' 'Table Type: ','MANAGED_TABLE ','' 'Table Parameters:','','' '','transient_lastDdlTime','!!UNIXTIME!! ' '','','' '# Storage Information','','' 'SerDe Library: ','org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe','' 'InputFormat: ','org.apache.hadoop.mapred.TextInputFormat','' 'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat','' 'Compressed: ','No ','' 'Num Buckets: ','-1 ','' 'Bucket Columns: ','[] ','' 'Sort Columns: ','[] ','' 'Storage Desc Params:','','' '','serialization.format','1 ' 27 rows selected >>> >>> insert into table stats16 select * from src; '_col0','_col1' No rows selected >>> analyze table stats16 compute statistics; 'key','value' No rows selected >>> desc formatted stats16; 'col_name','data_type','comment' '# col_name ','data_type ','comment ' '','','' 'key ','int ','None ' 'value ','string ','None ' '','','' '# Detailed Table Information','','' 'Database: ','stats16 ','' 'Owner: ','!!{user.name}!! ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' 'Protect Mode: ','None ','' 'Retention: ','0 ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/stats16.db/stats16','' 'Table Type: ','MANAGED_TABLE ','' 'Table Parameters:','','' '','numFiles ','1 ' '','numPartitions ','0 ' '','numRows ','500 ' '','rawDataSize ','5312 ' '','totalSize ','5812 ' '','transient_lastDdlTime','!!UNIXTIME!! ' '','','' '# Storage Information','','' 'SerDe Library: ','org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe','' 'InputFormat: ','org.apache.hadoop.mapred.TextInputFormat','' 'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat','' 'Compressed: ','No ','' 'Num Buckets: ','-1 ','' 'Bucket Columns: ','[] ','' 'Sort Columns: ','[] ','' 'Storage Desc Params:','','' '','serialization.format','1 ' 32 rows selected >>> >>> drop table stats16; No rows affected >>> !record