PageRenderTime 43ms CodeModel.GetById 20ms RepoModel.GetById 0ms 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
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. CREATE TABLE inv_valid_tbl1 COMMENT 'This is a thrift based table'
  2. PARTITIONED BY(aint DATETIME, country STRING)
  3. CLUSTERED BY(aint) SORTED BY(lint) INTO 32 BUCKETS
  4. ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer'
  5. WITH SERDEPROPERTIES ('serialization.class' = 'org.apache.hadoop.hive.serde2.thrift.test.Complex',
  6. 'serialization.format' = 'org.apache.thrift.protocol.TBinaryProtocol')
  7. STORED AS SEQUENCEFILE;
  8. DESCRIBE EXTENDED inv_valid_tbl1;