/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
- PREHOOK: query: -- a simple test to test sorted/clustered syntax
- CREATE TABLE INPUTDDL4(viewTime STRING, userid INT,
- page_url STRING, referrer_url STRING,
- friends ARRAY<BIGINT>, properties MAP<STRING, STRING>,
- ip STRING COMMENT 'IP Address of the User')
- COMMENT 'This is the page view table'
- PARTITIONED BY(ds STRING, country STRING)
- CLUSTERED BY(userid) SORTED BY(viewTime) INTO 32 BUCKETS
- PREHOOK: type: CREATETABLE
- POSTHOOK: query: -- a simple test to test sorted/clustered syntax
- CREATE TABLE INPUTDDL4(viewTime STRING, userid INT,
- page_url STRING, referrer_url STRING,
- friends ARRAY<BIGINT>, properties MAP<STRING, STRING>,
- ip STRING COMMENT 'IP Address of the User')
- COMMENT 'This is the page view table'
- PARTITIONED BY(ds STRING, country STRING)
- CLUSTERED BY(userid) SORTED BY(viewTime) INTO 32 BUCKETS
- POSTHOOK: type: CREATETABLE
- POSTHOOK: Output: default@INPUTDDL4
- PREHOOK: query: DESCRIBE INPUTDDL4
- PREHOOK: type: DESCTABLE
- POSTHOOK: query: DESCRIBE INPUTDDL4
- POSTHOOK: type: DESCTABLE
- viewtime string
- userid int
- page_url string
- referrer_url string
- friends array<bigint>
- properties map<string,string>
- ip string IP Address of the User
- ds string
- country string
- PREHOOK: query: DESCRIBE EXTENDED INPUTDDL4
- PREHOOK: type: DESCTABLE
- POSTHOOK: query: DESCRIBE EXTENDED INPUTDDL4
- POSTHOOK: type: DESCTABLE
- viewtime string
- userid int
- page_url string
- referrer_url string
- friends array<bigint>
- properties map<string,string>
- ip string IP Address of the User
- ds string
- country string
-
- 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)