zabetak opened a new pull request, #3852:
URL: https://github.com/apache/hive/pull/3852

   ### What changes were proposed in this pull request?
   1. Disable partition pruning and semi join reduction optimizations for 
branches with lateral views.
   2. Add config property to fail-fast EXPLAIN statements when a certain 
threshold is reached.
   
   ### Why are the changes needed?
   Prevent HS2 from hanging/crashing when a query contains many lateral views.
   
   ### Does this PR introduce _any_ user-facing change?
   * Some EXPLAIN statements may fail instead of causing HS2 crashes.
   * Potential (but rather rare) plan changes for queries with lateral views 
(certain optimizations are disabled).
   
   ### How was this patch tested?
   ```
   mvn test -Dtest=TestNegativeLlapLocalCliDriver -Dqfile_regex=lateral_view.*
   mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile_regex=lateral_view.*
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to