PREHOOK: query: -- This tests that the schema can be changed for binary serde data create table partition_test_partitioned(key string, value string) partitioned by (dt string) stored as rcfile PREHOOK: type: CREATETABLE POSTHOOK: query: -- This tests that the schema can be changed for binary serde data create table partition_test_partitioned(key string, value string) partitioned by (dt string) stored as rcfile POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@partition_test_partitioned PREHOOK: query: insert overwrite table partition_test_partitioned partition(dt='1') select * from src where key = 238 PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@partition_test_partitioned@dt=1 POSTHOOK: query: insert overwrite table partition_test_partitioned partition(dt='1') select * from src where key = 238 POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@partition_test_partitioned@dt=1 POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: select * from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select * from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 238 val_238 1 238 val_238 1 PREHOOK: query: select key+key, value from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select key+key, value from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 476.0 val_238 476.0 val_238 PREHOOK: query: alter table partition_test_partitioned change key key int PREHOOK: type: ALTERTABLE_RENAMECOL PREHOOK: Input: default@partition_test_partitioned PREHOOK: Output: default@partition_test_partitioned POSTHOOK: query: alter table partition_test_partitioned change key key int POSTHOOK: type: ALTERTABLE_RENAMECOL POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Output: default@partition_test_partitioned POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: select key+key, value from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select key+key, value from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 476 val_238 476 val_238 PREHOOK: query: select * from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select * from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 238 val_238 1 238 val_238 1 PREHOOK: query: alter table partition_test_partitioned add columns (value2 string) PREHOOK: type: ALTERTABLE_ADDCOLS PREHOOK: Input: default@partition_test_partitioned PREHOOK: Output: default@partition_test_partitioned POSTHOOK: query: alter table partition_test_partitioned add columns (value2 string) POSTHOOK: type: ALTERTABLE_ADDCOLS POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Output: default@partition_test_partitioned POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: select key+key, value from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select key+key, value from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 476 val_238 476 val_238 PREHOOK: query: select * from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: query: select * from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 238 val_238 NULL 1 238 val_238 NULL 1 PREHOOK: query: insert overwrite table partition_test_partitioned partition(dt='2') select key, value, value from src where key = 86 PREHOOK: type: QUERY PREHOOK: Input: default@src PREHOOK: Output: default@partition_test_partitioned@dt=2 POSTHOOK: query: insert overwrite table partition_test_partitioned partition(dt='2') select key, value, value from src where key = 86 POSTHOOK: type: QUERY POSTHOOK: Input: default@src POSTHOOK: Output: default@partition_test_partitioned@dt=2 POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value2 SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] PREHOOK: query: select key+key, value, value2, dt from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 PREHOOK: Input: default@partition_test_partitioned@dt=2 #### A masked pattern was here #### POSTHOOK: query: select key+key, value, value2, dt from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 POSTHOOK: Input: default@partition_test_partitioned@dt=2 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value2 SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 476 val_238 NULL 1 476 val_238 NULL 1 172 val_86 val_86 2 PREHOOK: query: select * from partition_test_partitioned where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned PREHOOK: Input: default@partition_test_partitioned@dt=1 PREHOOK: Input: default@partition_test_partitioned@dt=2 #### A masked pattern was here #### POSTHOOK: query: select * from partition_test_partitioned where dt is not null POSTHOOK: type: QUERY POSTHOOK: Input: default@partition_test_partitioned POSTHOOK: Input: default@partition_test_partitioned@dt=1 POSTHOOK: Input: default@partition_test_partitioned@dt=2 #### A masked pattern was here #### POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=1).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).key EXPRESSION [(src)src.FieldSchema(name:key, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] POSTHOOK: Lineage: partition_test_partitioned PARTITION(dt=2).value2 SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default), ] 238 val_238 NULL 1 238 val_238 NULL 1 86 val_86 val_86 2