Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
0.12.0, 0.13.0, 0.14.0, 1.0.0, 1.2.0
-
None
Description
The pre/post execute hook interface has fields that indicate which Hive objects were read / written to as a result of running the query. For the exchange partition operation, these fields (ReadEntity and WriteEntity) are empty.
This is an important issue as the hook interface may be configured to perform critical warehouse operations.
See
ql/src/test/results/clientpositive/exchange_partition3.q.out
POSTHOOK: query: -- This will exchange both partitions hr=1 and hr=2 ALTER TABLE exchange_part_test1 EXCHANGE PARTITION (ds='2013-04-05') WITH TABLE exchange_part_test2 POSTHOOK: type: null
The post hook should not say null.
Attachments
Issue Links
- contains
-
HIVE-15127 Branch-1.2: Investigate failure of TestMinimrCliDriver.exchgpartition2lel.q
- Resolved
- duplicates
-
HIVE-14348 Add tests for alter table exchange partition
- Resolved
- is broken by
-
HIVE-4095 Add exchange partition in Hive
- Closed
- is related to
-
HIVE-12215 Exchange partition does not show outputs field for post/pre execute hooks
- Closed