Stamatis Zampetakis created HIVE-23934:
------------------------------------------
Summary: Refactor TezCompiler#markSemiJoinForDPP to avoid
redundant operations in nested while
Key: HIVE-23934
URL: https://issues.apache.org/jira/browse/HIVE-23934
Project: Hive
Issue Type: Improvement
Reporter: Stamatis Zampetakis
Assignee: Stamatis Zampetakis
Most of the code inside the nested while loop can be extracted and computed
only once in the external loop. Moreover there are catch clauses for NPE which
seem rather predictable and could possibly be avoided by proper checks.
The goal of this issue is to refactor TezCompiler#markSemiJoinForDPP method to
avoid redundant operations and improve code readability. As a side effect of
this refactoring the method will be slightly more efficient although unlikely
to have observable difference in practice.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)