[
https://issues.apache.org/jira/browse/HIVE-11554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933568#comment-15933568
]
Vaibhav Gumashta edited comment on HIVE-11554 at 3/20/17 9:09 PM:
------------------------------------------------------------------
Modifying target version to add 1.3.0 since this is not a regression and 1.2.2
is a minor version update. If i'm able to put commit this before 1.2.2 RC is
cut, I'll commit this to 1.2 branch
was (Author: vgumashta):
Modifying target version to 1.3.0 since this is not a regression and 1.2.2 is a
minor version update. If i'm able to put commit this before 1.2.2 RC is cut,
I'll commit this to 1.2 branch
> Exchange partition does not properly populate fields for post/pre execute
> hooks
> -------------------------------------------------------------------------------
>
> Key: HIVE-11554
> URL: https://issues.apache.org/jira/browse/HIVE-11554
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.12.0, 0.13.0, 0.14.0, 1.0.0, 1.2.0
> Reporter: Paul Yang
> Assignee: Vaibhav Gumashta
> Priority: Critical
>
> 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
> {noformat}
> ql/src/test/results/clientpositive/exchange_partition3.q.out
> {noformat}
> {noformat}
> 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
> {noformat}
> The post hook should not say null.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)