[
https://issues.apache.org/jira/browse/HIVE-24203?focusedWorklogId=492970&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-492970
]
ASF GitHub Bot logged work on HIVE-24203:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Sep/20 13:51
Start Date: 30/Sep/20 13:51
Worklog Time Spent: 10m
Work Description: okumin commented on a change in pull request #1531:
URL: https://github.com/apache/hive/pull/1531#discussion_r497526561
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java
##########
@@ -2921,6 +2920,77 @@ public Object process(Node nd, Stack<Node> stack,
NodeProcessorCtx procCtx,
}
}
+ /**
+ * LateralViewJoinOperator joins the output of select with the output of
UDTF.
Review comment:
@zabetak Thanks for taking a look!
I added a description. Please feel free to ask me if something doesn't make
sense.
----------------------------------------------------------------
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: 492970)
Time Spent: 40m (was: 0.5h)
> Implement stats annotation rule for the LateralViewJoinOperator
> ---------------------------------------------------------------
>
> Key: HIVE-24203
> URL: https://issues.apache.org/jira/browse/HIVE-24203
> Project: Hive
> Issue Type: Improvement
> Components: Physical Optimizer
> Affects Versions: 4.0.0, 3.1.2, 2.3.7
> Reporter: okumin
> Assignee: okumin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> StatsRulesProcFactory doesn't have any rules to handle a JOIN by LATERAL VIEW.
> This can cause an underestimation in case that UDTF in LATERAL VIEW generates
> multiple rows.
> HIVE-20262 has already added the rule for UDTF.
> This issue would add the rule for LateralViewJoinOperator.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)