|
| 1 | +PREHOOK: query: create table ice_basetable (a int, b string) stored by iceberg |
| 2 | +PREHOOK: type: CREATETABLE |
| 3 | +PREHOOK: Output: database:default |
| 4 | +PREHOOK: Output: default@ice_basetable |
| 5 | +POSTHOOK: query: create table ice_basetable (a int, b string) stored by iceberg |
| 6 | +POSTHOOK: type: CREATETABLE |
| 7 | +POSTHOOK: Output: database:default |
| 8 | +POSTHOOK: Output: default@ice_basetable |
| 9 | +PREHOOK: query: insert into ice_basetable values (1, 'alfred'),(2, 'bob'),(2, 'bonnie'),(3, 'calvin'),(3, 'charlie') |
| 10 | +PREHOOK: type: QUERY |
| 11 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 12 | +PREHOOK: Output: default@ice_basetable |
| 13 | +POSTHOOK: query: insert into ice_basetable values (1, 'alfred'),(2, 'bob'),(2, 'bonnie'),(3, 'calvin'),(3, 'charlie') |
| 14 | +POSTHOOK: type: QUERY |
| 15 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 16 | +POSTHOOK: Output: default@ice_basetable |
| 17 | +PREHOOK: query: create materialized view mv_acid STORED AS ORC TBLPROPERTIES ('transactional'='true') as |
| 18 | +select b, a from ice_basetable |
| 19 | +PREHOOK: type: CREATE_MATERIALIZED_VIEW |
| 20 | +PREHOOK: Input: default@ice_basetable |
| 21 | +PREHOOK: Output: database:default |
| 22 | +PREHOOK: Output: default@mv_acid |
| 23 | +POSTHOOK: query: create materialized view mv_acid STORED AS ORC TBLPROPERTIES ('transactional'='true') as |
| 24 | +select b, a from ice_basetable |
| 25 | +POSTHOOK: type: CREATE_MATERIALIZED_VIEW |
| 26 | +POSTHOOK: Input: default@ice_basetable |
| 27 | +POSTHOOK: Output: database:default |
| 28 | +POSTHOOK: Output: default@mv_acid |
| 29 | +POSTHOOK: Lineage: mv_acid.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 30 | +POSTHOOK: Lineage: mv_acid.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 31 | +PREHOOK: query: create materialized view mv_insert_only STORED AS ORC TBLPROPERTIES ('transactional'='true', 'transactional_properties'='insert_only') as |
| 32 | +select b, a from ice_basetable |
| 33 | +PREHOOK: type: CREATE_MATERIALIZED_VIEW |
| 34 | +PREHOOK: Input: default@ice_basetable |
| 35 | +PREHOOK: Output: database:default |
| 36 | +PREHOOK: Output: default@mv_insert_only |
| 37 | +POSTHOOK: query: create materialized view mv_insert_only STORED AS ORC TBLPROPERTIES ('transactional'='true', 'transactional_properties'='insert_only') as |
| 38 | +select b, a from ice_basetable |
| 39 | +POSTHOOK: type: CREATE_MATERIALIZED_VIEW |
| 40 | +POSTHOOK: Input: default@ice_basetable |
| 41 | +POSTHOOK: Output: database:default |
| 42 | +POSTHOOK: Output: default@mv_insert_only |
| 43 | +POSTHOOK: Lineage: mv_insert_only.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 44 | +POSTHOOK: Lineage: mv_insert_only.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 45 | +PREHOOK: query: select * from mv_acid |
| 46 | +PREHOOK: type: QUERY |
| 47 | +PREHOOK: Input: default@mv_acid |
| 48 | +#### A masked pattern was here #### |
| 49 | +POSTHOOK: query: select * from mv_acid |
| 50 | +POSTHOOK: type: QUERY |
| 51 | +POSTHOOK: Input: default@mv_acid |
| 52 | +#### A masked pattern was here #### |
| 53 | +alfred 1 |
| 54 | +bob 2 |
| 55 | +bonnie 2 |
| 56 | +calvin 3 |
| 57 | +charlie 3 |
| 58 | +PREHOOK: query: select * from mv_insert_only |
| 59 | +PREHOOK: type: QUERY |
| 60 | +PREHOOK: Input: default@mv_insert_only |
| 61 | +#### A masked pattern was here #### |
| 62 | +POSTHOOK: query: select * from mv_insert_only |
| 63 | +POSTHOOK: type: QUERY |
| 64 | +POSTHOOK: Input: default@mv_insert_only |
| 65 | +#### A masked pattern was here #### |
| 66 | +alfred 1 |
| 67 | +bob 2 |
| 68 | +bonnie 2 |
| 69 | +calvin 3 |
| 70 | +charlie 3 |
| 71 | +PREHOOK: query: insert into ice_basetable values (5, 'amia') |
| 72 | +PREHOOK: type: QUERY |
| 73 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 74 | +PREHOOK: Output: default@ice_basetable |
| 75 | +POSTHOOK: query: insert into ice_basetable values (5, 'amia') |
| 76 | +POSTHOOK: type: QUERY |
| 77 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 78 | +POSTHOOK: Output: default@ice_basetable |
| 79 | +PREHOOK: query: alter materialized view mv_acid rebuild |
| 80 | +PREHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 81 | +PREHOOK: Input: default@ice_basetable |
| 82 | +PREHOOK: Output: default@mv_acid |
| 83 | +POSTHOOK: query: alter materialized view mv_acid rebuild |
| 84 | +POSTHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 85 | +POSTHOOK: Input: default@ice_basetable |
| 86 | +POSTHOOK: Output: default@mv_acid |
| 87 | +POSTHOOK: Lineage: mv_acid.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 88 | +POSTHOOK: Lineage: mv_acid.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 89 | +PREHOOK: query: alter materialized view mv_insert_only rebuild |
| 90 | +PREHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 91 | +PREHOOK: Input: default@ice_basetable |
| 92 | +PREHOOK: Output: default@mv_insert_only |
| 93 | +POSTHOOK: query: alter materialized view mv_insert_only rebuild |
| 94 | +POSTHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 95 | +POSTHOOK: Input: default@ice_basetable |
| 96 | +POSTHOOK: Output: default@mv_insert_only |
| 97 | +POSTHOOK: Lineage: mv_insert_only.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 98 | +POSTHOOK: Lineage: mv_insert_only.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 99 | +PREHOOK: query: insert into ice_basetable values (4, 'mania') |
| 100 | +PREHOOK: type: QUERY |
| 101 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 102 | +PREHOOK: Output: default@ice_basetable |
| 103 | +POSTHOOK: query: insert into ice_basetable values (4, 'mania') |
| 104 | +POSTHOOK: type: QUERY |
| 105 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 106 | +POSTHOOK: Output: default@ice_basetable |
| 107 | +PREHOOK: query: alter materialized view mv_acid rebuild |
| 108 | +PREHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 109 | +PREHOOK: Input: default@ice_basetable |
| 110 | +PREHOOK: Output: default@mv_acid |
| 111 | +POSTHOOK: query: alter materialized view mv_acid rebuild |
| 112 | +POSTHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 113 | +POSTHOOK: Input: default@ice_basetable |
| 114 | +POSTHOOK: Output: default@mv_acid |
| 115 | +POSTHOOK: Lineage: mv_acid.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 116 | +POSTHOOK: Lineage: mv_acid.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 117 | +PREHOOK: query: alter materialized view mv_insert_only rebuild |
| 118 | +PREHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 119 | +PREHOOK: Input: default@ice_basetable |
| 120 | +PREHOOK: Output: default@mv_insert_only |
| 121 | +POSTHOOK: query: alter materialized view mv_insert_only rebuild |
| 122 | +POSTHOOK: type: ALTER_MATERIALIZED_VIEW_REBUILD |
| 123 | +POSTHOOK: Input: default@ice_basetable |
| 124 | +POSTHOOK: Output: default@mv_insert_only |
| 125 | +POSTHOOK: Lineage: mv_insert_only.a SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:a, type:int, comment:null), ] |
| 126 | +POSTHOOK: Lineage: mv_insert_only.b SIMPLE [(ice_basetable)ice_basetable.FieldSchema(name:b, type:string, comment:null), ] |
| 127 | +PREHOOK: query: select * from mv_acid |
| 128 | +PREHOOK: type: QUERY |
| 129 | +PREHOOK: Input: default@mv_acid |
| 130 | +#### A masked pattern was here #### |
| 131 | +POSTHOOK: query: select * from mv_acid |
| 132 | +POSTHOOK: type: QUERY |
| 133 | +POSTHOOK: Input: default@mv_acid |
| 134 | +#### A masked pattern was here #### |
| 135 | +alfred 1 |
| 136 | +bob 2 |
| 137 | +bonnie 2 |
| 138 | +calvin 3 |
| 139 | +charlie 3 |
| 140 | +mania 4 |
| 141 | +amia 5 |
| 142 | +PREHOOK: query: select * from mv_insert_only |
| 143 | +PREHOOK: type: QUERY |
| 144 | +PREHOOK: Input: default@mv_insert_only |
| 145 | +#### A masked pattern was here #### |
| 146 | +POSTHOOK: query: select * from mv_insert_only |
| 147 | +POSTHOOK: type: QUERY |
| 148 | +POSTHOOK: Input: default@mv_insert_only |
| 149 | +#### A masked pattern was here #### |
| 150 | +alfred 1 |
| 151 | +bob 2 |
| 152 | +bonnie 2 |
| 153 | +calvin 3 |
| 154 | +charlie 3 |
| 155 | +mania 4 |
| 156 | +amia 5 |
0 commit comments