[
https://issues.apache.org/jira/browse/HIVE-24009?focusedWorklogId=487107&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-487107
]
ASF GitHub Bot logged work on HIVE-24009:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Sep/20 17:29
Start Date: 21/Sep/20 17:29
Worklog Time Spent: 10m
Work Description: vineetgarg02 commented on a change in pull request
#1472:
URL: https://github.com/apache/hive/pull/1472#discussion_r492229067
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -387,6 +387,12 @@
protected volatile boolean disableJoinMerge = false;
protected final boolean defaultJoinMerge;
+ /*
+ * This is used by prepare/execute statement
+ * Prepare/Execute requires operators to be copied and cached
+ */
+ protected Map<String, TableScanOperator> topOpsCopy = null;
Review comment:
Original operator tree shape is changed when going through physical
transformations and task generation (don't know why though), as a result this
operator tree can not be used later to regenerate tasks or re-running physical
transformations. Therefore we make a copy and cache it after operator tree is
generated.
I will leave a comment.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 487107)
Time Spent: 40m (was: 0.5h)
> Support partition pruning and other physical transformations for EXECUTE
> statement
> -----------------------------------------------------------------------------------
>
> Key: HIVE-24009
> URL: https://issues.apache.org/jira/browse/HIVE-24009
> Project: Hive
> Issue Type: Sub-task
> Reporter: Vineet Garg
> Assignee: Vineet Garg
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Current partition pruning (compile time) isn't kicked in for EXECUTE
> statements.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)