|
| 1 | +PREHOOK: query: create database test_db |
| 2 | +PREHOOK: type: CREATEDATABASE |
| 3 | +PREHOOK: Output: database:test_db |
| 4 | +POSTHOOK: query: create database test_db |
| 5 | +POSTHOOK: type: CREATEDATABASE |
| 6 | +POSTHOOK: Output: database:test_db |
| 7 | +PREHOOK: query: create table test_db.test_tbl (id int, name string) partitioned by (dt date, hr string) |
| 8 | +PREHOOK: type: CREATETABLE |
| 9 | +PREHOOK: Output: database:test_db |
| 10 | +PREHOOK: Output: test_db@test_tbl |
| 11 | +POSTHOOK: query: create table test_db.test_tbl (id int, name string) partitioned by (dt date, hr string) |
| 12 | +POSTHOOK: type: CREATETABLE |
| 13 | +POSTHOOK: Output: database:test_db |
| 14 | +POSTHOOK: Output: test_db@test_tbl |
| 15 | +PREHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='11') select 1, 'tom' |
| 16 | +PREHOOK: type: QUERY |
| 17 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 18 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 19 | +POSTHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='11') select 1, 'tom' |
| 20 | +POSTHOOK: type: QUERY |
| 21 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 22 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 23 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=11).id SIMPLE [] |
| 24 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=11).name SIMPLE [] |
| 25 | +PREHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='12') select 2, 'jerry' |
| 26 | +PREHOOK: type: QUERY |
| 27 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 28 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 29 | +POSTHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='12') select 2, 'jerry' |
| 30 | +POSTHOOK: type: QUERY |
| 31 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 32 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 33 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=12).id SIMPLE [] |
| 34 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=12).name SIMPLE [] |
| 35 | +PREHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='13') select 3, 'spike' |
| 36 | +PREHOOK: type: QUERY |
| 37 | +PREHOOK: Input: _dummy_database@_dummy_table |
| 38 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 39 | +POSTHOOK: query: insert overwrite table test_db.test_tbl partition (dt='2025-04-01', hr='13') select 3, 'spike' |
| 40 | +POSTHOOK: type: QUERY |
| 41 | +POSTHOOK: Input: _dummy_database@_dummy_table |
| 42 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 43 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=13).id SIMPLE [] |
| 44 | +POSTHOOK: Lineage: test_tbl PARTITION(dt=2025-04-01,hr=13).name SIMPLE [] |
| 45 | +PREHOOK: query: show partitions test_db.test_tbl |
| 46 | +PREHOOK: type: SHOWPARTITIONS |
| 47 | +PREHOOK: Input: test_db@test_tbl |
| 48 | +POSTHOOK: query: show partitions test_db.test_tbl |
| 49 | +POSTHOOK: type: SHOWPARTITIONS |
| 50 | +POSTHOOK: Input: test_db@test_tbl |
| 51 | +dt=2025-04-01/hr=11 |
| 52 | +dt=2025-04-01/hr=12 |
| 53 | +dt=2025-04-01/hr=13 |
| 54 | +PREHOOK: query: alter table test_db.test_tbl archive partition (dt='2025-04-01') |
| 55 | +PREHOOK: type: ALTERTABLE_ARCHIVE |
| 56 | +PREHOOK: Input: test_db@test_tbl |
| 57 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 58 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 59 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 60 | +POSTHOOK: query: alter table test_db.test_tbl archive partition (dt='2025-04-01') |
| 61 | +POSTHOOK: type: ALTERTABLE_ARCHIVE |
| 62 | +POSTHOOK: Input: test_db@test_tbl |
| 63 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 64 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 65 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 66 | +PREHOOK: query: show partitions test_db.test_tbl |
| 67 | +PREHOOK: type: SHOWPARTITIONS |
| 68 | +PREHOOK: Input: test_db@test_tbl |
| 69 | +POSTHOOK: query: show partitions test_db.test_tbl |
| 70 | +POSTHOOK: type: SHOWPARTITIONS |
| 71 | +POSTHOOK: Input: test_db@test_tbl |
| 72 | +dt=2025-04-01/hr=11 |
| 73 | +dt=2025-04-01/hr=12 |
| 74 | +dt=2025-04-01/hr=13 |
| 75 | +PREHOOK: query: alter table test_db.test_tbl drop partition (dt='2025-04-01',hr='12') |
| 76 | +PREHOOK: type: ALTERTABLE_DROPPARTS |
| 77 | +PREHOOK: Input: test_db@test_tbl |
| 78 | +PREHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 79 | +POSTHOOK: query: alter table test_db.test_tbl drop partition (dt='2025-04-01',hr='12') |
| 80 | +POSTHOOK: type: ALTERTABLE_DROPPARTS |
| 81 | +POSTHOOK: Input: test_db@test_tbl |
| 82 | +POSTHOOK: Output: test_db@test_tbl@dt=2025-04-01/hr=12 |
| 83 | +PREHOOK: query: show partitions test_db.test_tbl |
| 84 | +PREHOOK: type: SHOWPARTITIONS |
| 85 | +PREHOOK: Input: test_db@test_tbl |
| 86 | +POSTHOOK: query: show partitions test_db.test_tbl |
| 87 | +POSTHOOK: type: SHOWPARTITIONS |
| 88 | +POSTHOOK: Input: test_db@test_tbl |
| 89 | +dt=2025-04-01/hr=11 |
| 90 | +dt=2025-04-01/hr=13 |
| 91 | +PREHOOK: query: select * from test_db.test_tbl |
| 92 | +PREHOOK: type: QUERY |
| 93 | +PREHOOK: Input: test_db@test_tbl |
| 94 | +PREHOOK: Input: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 95 | +PREHOOK: Input: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 96 | +#### A masked pattern was here #### |
| 97 | +POSTHOOK: query: select * from test_db.test_tbl |
| 98 | +POSTHOOK: type: QUERY |
| 99 | +POSTHOOK: Input: test_db@test_tbl |
| 100 | +POSTHOOK: Input: test_db@test_tbl@dt=2025-04-01/hr=11 |
| 101 | +POSTHOOK: Input: test_db@test_tbl@dt=2025-04-01/hr=13 |
| 102 | +#### A masked pattern was here #### |
| 103 | +1 tom 2025-04-01 11 |
| 104 | +3 spike 2025-04-01 13 |
| 105 | +PREHOOK: query: drop table test_db.test_tbl |
| 106 | +PREHOOK: type: DROPTABLE |
| 107 | +PREHOOK: Input: test_db@test_tbl |
| 108 | +PREHOOK: Output: database:test_db |
| 109 | +PREHOOK: Output: test_db@test_tbl |
| 110 | +POSTHOOK: query: drop table test_db.test_tbl |
| 111 | +POSTHOOK: type: DROPTABLE |
| 112 | +POSTHOOK: Input: test_db@test_tbl |
| 113 | +POSTHOOK: Output: database:test_db |
| 114 | +POSTHOOK: Output: test_db@test_tbl |
0 commit comments