| PREHOOK: query: create table orc_merge5 (userid bigint, string1 string, subtype double, decimal1 decimal(38,0), ts timestamp) stored as orc |
| PREHOOK: type: CREATETABLE |
| PREHOOK: Output: database:default |
| PREHOOK: Output: default@orc_merge5 |
| POSTHOOK: query: create table orc_merge5 (userid bigint, string1 string, subtype double, decimal1 decimal(38,0), ts timestamp) stored as orc |
| POSTHOOK: type: CREATETABLE |
| POSTHOOK: Output: database:default |
| POSTHOOK: Output: default@orc_merge5 |
| PREHOOK: query: create table orc_merge5a (userid bigint, string1 string, subtype double, decimal1 decimal(38,0), ts timestamp) partitioned by (st double) stored as orc |
| PREHOOK: type: CREATETABLE |
| PREHOOK: Output: database:default |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: create table orc_merge5a (userid bigint, string1 string, subtype double, decimal1 decimal(38,0), ts timestamp) partitioned by (st double) stored as orc |
| POSTHOOK: type: CREATETABLE |
| POSTHOOK: Output: database:default |
| POSTHOOK: Output: default@orc_merge5a |
| PREHOOK: query: load data local inpath '../../data/files/orc_split_elim.orc' into table orc_merge5 |
| PREHOOK: type: LOAD |
| #### A masked pattern was here #### |
| PREHOOK: Output: default@orc_merge5 |
| POSTHOOK: query: load data local inpath '../../data/files/orc_split_elim.orc' into table orc_merge5 |
| POSTHOOK: type: LOAD |
| #### A masked pattern was here #### |
| POSTHOOK: Output: default@orc_merge5 |
| PREHOOK: query: explain insert overwrite table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5 |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: explain insert overwrite table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5 |
| POSTHOOK: Output: default@orc_merge5a |
| STAGE DEPENDENCIES: |
| Stage-1 is a root stage |
| Stage-2 depends on stages: Stage-1 |
| Stage-0 depends on stages: Stage-2 |
| Stage-3 depends on stages: Stage-0 |
| |
| STAGE PLANS: |
| Stage: Stage-1 |
| Tez |
| #### A masked pattern was here #### |
| Edges: |
| Reducer 2 <- Map 1 (SIMPLE_EDGE) |
| Reducer 3 <- Map 1 (SIMPLE_EDGE) |
| #### A masked pattern was here #### |
| Vertices: |
| Map 1 |
| Map Operator Tree: |
| TableScan |
| alias: orc_merge5 |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| Select Operator |
| expressions: userid (type: bigint), string1 (type: string), subtype (type: double), decimal1 (type: decimal(38,0)), ts (type: timestamp), subtype (type: double) |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5 |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col5 (type: double) |
| null sort order: a |
| sort order: + |
| Map-reduce partition columns: _col5 (type: double) |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| value expressions: _col0 (type: bigint), _col1 (type: string), _col2 (type: double), _col3 (type: decimal(38,0)), _col4 (type: timestamp) |
| Select Operator |
| expressions: _col0 (type: bigint), _col1 (type: string), _col2 (type: double), _col3 (type: decimal(38,0)), _col4 (type: timestamp), _col5 (type: double) |
| outputColumnNames: userid, string1, subtype, decimal1, ts, st |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| Group By Operator |
| aggregations: min(userid), max(userid), count(1), count(userid), compute_bit_vector(userid, 'hll'), max(length(string1)), avg(COALESCE(length(string1),0)), count(string1), compute_bit_vector(string1, 'hll'), min(subtype), max(subtype), count(subtype), compute_bit_vector(subtype, 'hll'), min(decimal1), max(decimal1), count(decimal1), compute_bit_vector(decimal1, 'hll'), min(ts), max(ts), count(ts), compute_bit_vector(ts, 'hll') |
| keys: st (type: double) |
| minReductionHashAggr: 0.99 |
| mode: hash |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21 |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: double) |
| null sort order: z |
| sort order: + |
| Map-reduce partition columns: _col0 (type: double) |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| value expressions: _col1 (type: bigint), _col2 (type: bigint), _col3 (type: bigint), _col4 (type: bigint), _col5 (type: binary), _col6 (type: int), _col7 (type: struct<count:bigint,sum:double,input:int>), _col8 (type: bigint), _col9 (type: binary), _col10 (type: double), _col11 (type: double), _col12 (type: bigint), _col13 (type: binary), _col14 (type: decimal(38,0)), _col15 (type: decimal(38,0)), _col16 (type: bigint), _col17 (type: binary), _col18 (type: timestamp), _col19 (type: timestamp), _col20 (type: bigint), _col21 (type: binary) |
| Execution mode: llap |
| LLAP IO: all inputs |
| Reducer 2 |
| Execution mode: llap |
| Reduce Operator Tree: |
| Select Operator |
| expressions: VALUE._col0 (type: bigint), VALUE._col1 (type: string), VALUE._col2 (type: double), VALUE._col3 (type: decimal(38,0)), VALUE._col4 (type: timestamp), KEY._col5 (type: double) |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5 |
| File Output Operator |
| compressed: false |
| Dp Sort State: PARTITION_SORTED |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| table: |
| input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat |
| output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat |
| serde: org.apache.hadoop.hive.ql.io.orc.OrcSerde |
| name: default.orc_merge5a |
| Reducer 3 |
| Execution mode: llap |
| Reduce Operator Tree: |
| Group By Operator |
| aggregations: min(VALUE._col0), max(VALUE._col1), count(VALUE._col2), count(VALUE._col3), compute_bit_vector(VALUE._col4), max(VALUE._col5), avg(VALUE._col6), count(VALUE._col7), compute_bit_vector(VALUE._col8), min(VALUE._col9), max(VALUE._col10), count(VALUE._col11), compute_bit_vector(VALUE._col12), min(VALUE._col13), max(VALUE._col14), count(VALUE._col15), compute_bit_vector(VALUE._col16), min(VALUE._col17), max(VALUE._col18), count(VALUE._col19), compute_bit_vector(VALUE._col20) |
| keys: KEY._col0 (type: double) |
| mode: mergepartial |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21 |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| Select Operator |
| expressions: 'LONG' (type: string), _col1 (type: bigint), _col2 (type: bigint), (_col3 - _col4) (type: bigint), COALESCE(ndv_compute_bit_vector(_col5),0) (type: bigint), _col5 (type: binary), 'STRING' (type: string), UDFToLong(COALESCE(_col6,0)) (type: bigint), COALESCE(_col7,0) (type: double), (_col3 - _col8) (type: bigint), COALESCE(ndv_compute_bit_vector(_col9),0) (type: bigint), _col9 (type: binary), 'DOUBLE' (type: string), _col10 (type: double), _col11 (type: double), (_col3 - _col12) (type: bigint), COALESCE(ndv_compute_bit_vector(_col13),0) (type: bigint), _col13 (type: binary), 'DECIMAL' (type: string), _col14 (type: decimal(38,0)), _col15 (type: decimal(38,0)), (_col3 - _col16) (type: bigint), COALESCE(ndv_compute_bit_vector(_col17),0) (type: bigint), _col17 (type: binary), 'TIMESTAMP' (type: string), _col18 (type: timestamp), _col19 (type: timestamp), (_col3 - _col20) (type: bigint), COALESCE(ndv_compute_bit_vector(_col21),0) (type: bigint), _col21 (type: binary), _col0 (type: double) |
| outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23, _col24, _col25, _col26, _col27, _col28, _col29, _col30 |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| File Output Operator |
| compressed: false |
| Statistics: Num rows: 1 Data size: 352 Basic stats: COMPLETE Column stats: NONE |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe |
| |
| Stage: Stage-2 |
| Dependency Collection |
| |
| Stage: Stage-0 |
| Move Operator |
| tables: |
| partition: |
| st |
| replace: true |
| table: |
| input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat |
| output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat |
| serde: org.apache.hadoop.hive.ql.io.orc.OrcSerde |
| name: default.orc_merge5a |
| |
| Stage: Stage-3 |
| Stats Work |
| Basic Stats Work: |
| Column Stats Desc: |
| Columns: userid, string1, subtype, decimal1, ts |
| Column Types: bigint, string, double, decimal(38,0), timestamp |
| Table: default.orc_merge5a |
| |
| PREHOOK: query: insert overwrite table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5 |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: insert overwrite table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5 |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: Output: default@orc_merge5a@st=1.8 |
| POSTHOOK: Output: default@orc_merge5a@st=8.0 |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| PREHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5 |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5 |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: Output: default@orc_merge5a@st=1.8 |
| POSTHOOK: Output: default@orc_merge5a@st=8.0 |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| PREHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5 |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5 |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: Output: default@orc_merge5a@st=1.8 |
| POSTHOOK: Output: default@orc_merge5a@st=8.0 |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| PREHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5 |
| PREHOOK: Output: default@orc_merge5a |
| POSTHOOK: query: insert into table orc_merge5a partition (st) select userid,string1,subtype,decimal1,ts,subtype from orc_merge5 order by userid |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5 |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: Output: default@orc_merge5a@st=1.8 |
| POSTHOOK: Output: default@orc_merge5a@st=8.0 |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=0.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=1.8).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=8.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).decimal1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:decimal1, type:decimal(38,0), comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).string1 SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:string1, type:string, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).subtype SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:subtype, type:double, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).ts SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:ts, type:timestamp, comment:null), ] |
| POSTHOOK: Lineage: orc_merge5a PARTITION(st=80.0).userid SIMPLE [(orc_merge5)orc_merge5.FieldSchema(name:userid, type:bigint, comment:null), ] |
| PREHOOK: query: analyze table orc_merge5a partition(st=80.0) compute statistics noscan |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: query: analyze table orc_merge5a partition(st=80.0) compute statistics noscan |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| PREHOOK: query: analyze table orc_merge5a partition(st=0.8) compute statistics noscan |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: query: analyze table orc_merge5a partition(st=0.8) compute statistics noscan |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| Found 4 items |
| #### A masked pattern was here #### |
| Found 4 items |
| #### A masked pattern was here #### |
| PREHOOK: query: show partitions orc_merge5a |
| PREHOOK: type: SHOWPARTITIONS |
| PREHOOK: Input: default@orc_merge5a |
| POSTHOOK: query: show partitions orc_merge5a |
| POSTHOOK: type: SHOWPARTITIONS |
| POSTHOOK: Input: default@orc_merge5a |
| st=0.8 |
| st=1.8 |
| st=8.0 |
| st=80.0 |
| PREHOOK: query: select * from orc_merge5a where userid<=13 |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Input: default@orc_merge5a@st=0.8 |
| PREHOOK: Input: default@orc_merge5a@st=1.8 |
| PREHOOK: Input: default@orc_merge5a@st=8.0 |
| PREHOOK: Input: default@orc_merge5a@st=80.0 |
| #### A masked pattern was here #### |
| POSTHOOK: query: select * from orc_merge5a where userid<=13 |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Input: default@orc_merge5a@st=0.8 |
| POSTHOOK: Input: default@orc_merge5a@st=1.8 |
| POSTHOOK: Input: default@orc_merge5a@st=8.0 |
| POSTHOOK: Input: default@orc_merge5a@st=80.0 |
| #### A masked pattern was here #### |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| PREHOOK: query: explain alter table orc_merge5a partition(st=80.0) concatenate |
| PREHOOK: type: ALTER_PARTITION_MERGE |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: query: explain alter table orc_merge5a partition(st=80.0) concatenate |
| POSTHOOK: type: ALTER_PARTITION_MERGE |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| STAGE DEPENDENCIES: |
| Stage-0 is a root stage |
| Stage-1 depends on stages: Stage-0 |
| Stage-2 depends on stages: Stage-1 |
| |
| STAGE PLANS: |
| Stage: Stage-0 |
| Concatenate |
| partition spec: |
| st 80.0 |
| table name: default.orc_merge5a |
| |
| Stage: Stage-1 |
| Move Operator |
| tables: |
| partition: |
| st 80.0 |
| replace: true |
| table: |
| input format: org.apache.hadoop.hive.ql.io.orc.OrcInputFormat |
| output format: org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat |
| serde: org.apache.hadoop.hive.ql.io.orc.OrcSerde |
| name: default.orc_merge5a |
| |
| Stage: Stage-2 |
| Stats Work |
| Basic Stats Work: |
| |
| PREHOOK: query: alter table orc_merge5a partition(st=80.0) concatenate |
| PREHOOK: type: ALTER_PARTITION_MERGE |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: query: alter table orc_merge5a partition(st=80.0) concatenate |
| POSTHOOK: type: ALTER_PARTITION_MERGE |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| PREHOOK: query: alter table orc_merge5a partition(st=0.8) concatenate |
| PREHOOK: type: ALTER_PARTITION_MERGE |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: query: alter table orc_merge5a partition(st=0.8) concatenate |
| POSTHOOK: type: ALTER_PARTITION_MERGE |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| PREHOOK: query: analyze table orc_merge5a partition(st=80.0) compute statistics noscan |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=80.0 |
| POSTHOOK: query: analyze table orc_merge5a partition(st=80.0) compute statistics noscan |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=80.0 |
| PREHOOK: query: analyze table orc_merge5a partition(st=0.8) compute statistics noscan |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a |
| PREHOOK: Output: default@orc_merge5a@st=0.8 |
| POSTHOOK: query: analyze table orc_merge5a partition(st=0.8) compute statistics noscan |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a |
| POSTHOOK: Output: default@orc_merge5a@st=0.8 |
| Found 3 items |
| #### A masked pattern was here #### |
| Found 3 items |
| #### A masked pattern was here #### |
| PREHOOK: query: show partitions orc_merge5a |
| PREHOOK: type: SHOWPARTITIONS |
| PREHOOK: Input: default@orc_merge5a |
| POSTHOOK: query: show partitions orc_merge5a |
| POSTHOOK: type: SHOWPARTITIONS |
| POSTHOOK: Input: default@orc_merge5a |
| st=0.8 |
| st=1.8 |
| st=8.0 |
| st=80.0 |
| PREHOOK: query: select * from orc_merge5a where userid<=13 |
| PREHOOK: type: QUERY |
| PREHOOK: Input: default@orc_merge5a |
| PREHOOK: Input: default@orc_merge5a@st=0.8 |
| PREHOOK: Input: default@orc_merge5a@st=1.8 |
| PREHOOK: Input: default@orc_merge5a@st=8.0 |
| PREHOOK: Input: default@orc_merge5a@st=80.0 |
| #### A masked pattern was here #### |
| POSTHOOK: query: select * from orc_merge5a where userid<=13 |
| POSTHOOK: type: QUERY |
| POSTHOOK: Input: default@orc_merge5a |
| POSTHOOK: Input: default@orc_merge5a@st=0.8 |
| POSTHOOK: Input: default@orc_merge5a@st=1.8 |
| POSTHOOK: Input: default@orc_merge5a@st=8.0 |
| POSTHOOK: Input: default@orc_merge5a@st=80.0 |
| #### A masked pattern was here #### |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 13 bar 80.0 2 1969-12-31 16:00:05 80.0 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 2 foo 0.8 1 1969-12-31 16:00:00 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |
| 5 eat 0.8 6 1969-12-31 16:00:20 0.8 |