Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10571 )

Change subject: IMPALA-7106: Log the original and rewritten SQL when SQL 
rewrite fails
......................................................................


Patch Set 22: Code-Review+2

(2 comments)

Carry Vuk's +2.

http://gerrit.cloudera.org:8080/#/c/10571/21/fe/src/main/java/org/apache/impala/analysis/StatementBase.java
File fe/src/main/java/org/apache/impala/analysis/StatementBase.java:

http://gerrit.cloudera.org:8080/#/c/10571/21/fe/src/main/java/org/apache/impala/analysis/StatementBase.java@136
PS21, Line 136:    * rewritten. Otherwise, the original SQL will be returned 
instead. It is the caller's
> explicitly state that its the caller's responsibility to know if/when the s
Done


http://gerrit.cloudera.org:8080/#/c/10571/18/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
File fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java:

http://gerrit.cloudera.org:8080/#/c/10571/18/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java@191
PS18, Line 191: tatement was indeed
              :    * rewritten.
> ok, pls add a comment for the new param and state that its only for testing
Done. Although the rewritten param isn't only used for testing.



--
To view, visit http://gerrit.cloudera.org:8080/10571
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iab58b0cc865135d261dd4a7f72be130f2e7bde53
Gerrit-Change-Number: 10571
Gerrit-PatchSet: 22
Gerrit-Owner: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tianyi Wang <[email protected]>
Gerrit-Reviewer: Vuk Ercegovac <[email protected]>
Gerrit-Comment-Date: Tue, 17 Jul 2018 01:33:50 +0000
Gerrit-HasComments: Yes

Reply via email to