PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientpositive/inputddl4.q.out

#
text | 49 lines | 46 code | 3 blank | 0 comment | 0 complexity | 58a1ced88eed01af5ae1c9615ba3988d MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: -- a simple test to test sorted/clustered syntax
  2. CREATE TABLE INPUTDDL4(viewTime STRING, userid INT,
  3. page_url STRING, referrer_url STRING,
  4. friends ARRAY<BIGINT>, properties MAP<STRING, STRING>,
  5. ip STRING COMMENT 'IP Address of the User')
  6. COMMENT 'This is the page view table'
  7. PARTITIONED BY(ds STRING, country STRING)
  8. CLUSTERED BY(userid) SORTED BY(viewTime) INTO 32 BUCKETS
  9. PREHOOK: type: CREATETABLE
  10. POSTHOOK: query: -- a simple test to test sorted/clustered syntax
  11. CREATE TABLE INPUTDDL4(viewTime STRING, userid INT,
  12. page_url STRING, referrer_url STRING,
  13. friends ARRAY<BIGINT>, properties MAP<STRING, STRING>,
  14. ip STRING COMMENT 'IP Address of the User')
  15. COMMENT 'This is the page view table'
  16. PARTITIONED BY(ds STRING, country STRING)
  17. CLUSTERED BY(userid) SORTED BY(viewTime) INTO 32 BUCKETS
  18. POSTHOOK: type: CREATETABLE
  19. POSTHOOK: Output: default@INPUTDDL4
  20. PREHOOK: query: DESCRIBE INPUTDDL4
  21. PREHOOK: type: DESCTABLE
  22. POSTHOOK: query: DESCRIBE INPUTDDL4
  23. POSTHOOK: type: DESCTABLE
  24. viewtime string
  25. userid int
  26. page_url string
  27. referrer_url string
  28. friends array<bigint>
  29. properties map<string,string>
  30. ip string IP Address of the User
  31. ds string
  32. country string
  33. PREHOOK: query: DESCRIBE EXTENDED INPUTDDL4
  34. PREHOOK: type: DESCTABLE
  35. POSTHOOK: query: DESCRIBE EXTENDED INPUTDDL4
  36. POSTHOOK: type: DESCTABLE
  37. viewtime string
  38. userid int
  39. page_url string
  40. referrer_url string
  41. friends array<bigint>
  42. properties map<string,string>
  43. ip string IP Address of the User
  44. ds string
  45. country string
  46. Detailed Table Information Table(tableName:inputddl4, dbName:default, owner:thiruvel, createTime:1286798568, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:viewtime, type:string, comment:null), FieldSchema(name:userid, type:int, comment:null), FieldSchema(name:page_url, type:string, comment:null), FieldSchema(name:referrer_url, type:string, comment:null), FieldSchema(name:friends, type:array<bigint>, comment:null), FieldSchema(name:properties, type:map<string,string>, comment:null), FieldSchema(name:ip, type:string, comment:IP Address of the User), FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:country, type:string, comment:null)], location:pfile:/home/thiruvel/projects/hive/hive.unsecure/build/ql/test/data/warehouse/inputddl4, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:32, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[userid], sortCols:[Order(col:viewtime, order:1)], parameters:{}), partitionKeys:[FieldSchema(name:ds, type:string, comment:null), FieldSchema(name:country, type:string, comment:null)], parameters:{transient_lastDdlTime=1286798568, comment=This is the page view table}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)