show create table ottvtest.tb_mr_outsample_low_dd;
結果:
CREATE TABLE `ottvtest.tb_mr_outsample_low_dd`(
`cityid` smallint,
`time` int,
`wtimems` smallint,
`eci` int,
`buildingid` int,
`height` tinyint,
……………………
`radius` tinyint,
`label` string)
PARTITIONED BY (
`loc_time` string)
ROW FORMAT SERDE
'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
'field.delim'='\t',
'serialization.format'='\t')
STORED AS INPUTFORMAT
'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
'hdfs://nameservice1/user/hive/warehouse/ottvtest.db/tb_mr_outsample_low_dd'