Anurag Mantripragada has uploaded a new patch set (#3). ( 
http://gerrit.cloudera.org:8080/11568 )

Change subject: IMPALA-7484: Unrecognized hints are interpreted as 
straight_join Call to setIsStraightJoin() is outside else clause in 
SelectList.java causing even unrecognized hints to be interpreted as 
straight_joins. Moved it into an else. Now it will be called only i
......................................................................

IMPALA-7484: Unrecognized hints are interpreted as straight_join
Call to setIsStraightJoin() is outside else clause in SelectList.java causing 
even unrecognized hints to be interpreted as straight_joins. Moved it into an 
else. Now it will be called only if the hintis a straight_join.

Testing: Added two test cases to TestSelectListHints. 1) To make assert 
straight_join is not set when hint is unrecognized and 2) To assert it is 
properly set when hint is indeed a straigh_join.

Change-Id: Icf600ebbfefc7398e0896df143a0ab91545cae04
---
M fe/src/main/java/org/apache/impala/analysis/SelectList.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java
2 files changed, 13 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/68/11568/3
--
To view, visit http://gerrit.cloudera.org:8080/11568
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf600ebbfefc7398e0896df143a0ab91545cae04
Gerrit-Change-Number: 11568
Gerrit-PatchSet: 3
Gerrit-Owner: Anurag Mantripragada <anuragmantr...@gmail.com>
Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com>
Gerrit-Reviewer: Bikramjeet Vig <bikramjeet....@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to