hive storage

hive> show create table test_parquet; 
OK 
CREATE TABLE `test_parquet`( 
  `name` string,  
  `age` int) 
ROW FORMAT SERDE  
  'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' 
STORED AS INPUTFORMAT  
  'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' 
OUTPUTFORMAT  
  'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' 
LOCATION 
  'hdfs://localhost:9000/user/hive/warehouse/test_parquet' 
TBLPROPERTIES ( 
  'transient_lastDdlTime'='1495038003') 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326072739&siteId=291194637