okumin opened a new pull request #1531:
URL: https://github.com/apache/hive/pull/1531


   ### What changes were proposed in this pull request?
   
   Estimate statistics of LATERAL VIEW correctly.
   
   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.
   
   ### Why are the changes needed?
   
   Significant underestimation can happen when LATERAL VIEW increases the 
number of records a lot and the source table has large.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Added one test case.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to