PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientnegative/invalid_create_tbl1.q

#
text | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | e6f157969f1943b6d3f162c19bf3eb57 MD5 | raw file
1
2CREATE TABLE inv_valid_tbl1 COMMENT 'This is a thrift based table'
3    PARTITIONED BY(aint DATETIME, country STRING)
4    CLUSTERED BY(aint) SORTED BY(lint) INTO 32 BUCKETS
5    ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer'
6    WITH SERDEPROPERTIES ('serialization.class' = 'org.apache.hadoop.hive.serde2.thrift.test.Complex',
7                          'serialization.format' = 'org.apache.thrift.protocol.TBinaryProtocol')
8    STORED AS SEQUENCEFILE;
9DESCRIBE EXTENDED inv_valid_tbl1;