Vuk Ercegovac has posted comments on this change. ( 
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
......................................................................


Patch Set 3:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/11568/3//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11568/3//COMMIT_MSG@7
PS3, Line 7: IMPALA-7484: Unrecognized hints are interpreted as straight_join
add a newline


http://gerrit.cloudera.org:8080/#/c/11568/3//COMMIT_MSG@8
PS3, Line 8: 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.
wrap this appropriately.


http://gerrit.cloudera.org:8080/#/c/11568/3//COMMIT_MSG@10
PS3, Line 10: 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.
same here, please wrap the lines.


http://gerrit.cloudera.org:8080/#/c/11568/3/fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java
File fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java:

http://gerrit.cloudera.org:8080/#/c/11568/3/fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java@1845
PS3, Line 1845:         //if hint is straight join
add a space after '//'


http://gerrit.cloudera.org:8080/#/c/11568/3/fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java@1851
PS3, Line 1851:         //Unrecognized hint
same here, add a space.



--
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: comment
Gerrit-Change-Id: Icf600ebbfefc7398e0896df143a0ab91545cae04
Gerrit-Change-Number: 11568
Gerrit-PatchSet: 3
Gerrit-Owner: Anurag Mantripragada <[email protected]>
Gerrit-Reviewer: Anurag Mantripragada <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Bikramjeet Vig <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Vuk Ercegovac <[email protected]>
Gerrit-Comment-Date: Wed, 03 Oct 2018 05:50:33 +0000
Gerrit-HasComments: Yes

Reply via email to