Paul Rogers has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12009 )

Change subject: IMPALA-7905: Hive keywords not quoted for identifiers
......................................................................


Patch Set 3:

(2 comments)

Addressed review comments. Rebased on master.

http://gerrit.cloudera.org:8080/#/c/12009/1/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/12009/1/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java@126
PS1, Line 126: Token t = hiveLexer.nextToken();
> Actually forget about this, I missed the try/catch. This code is fine.
Thanks. Actually, this is the original code, just moved into a separate 
function for testing.


http://gerrit.cloudera.org:8080/#/c/12009/1/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java@149
PS1, Line 149: // Impala's scanner recognizes the ".123" portion of "db.123e45" 
as a decimal,
             :     // so while the quoting is not necessary for the given 
identifier itself, the quotes
             :     // are needed if this identifier will be preceded by a ".".
> This is no longer an issue in Impala: https://gerrit.cloudera.org/c/11927/.
This comment is original, just moved. Thanks for pointing out the correction.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I06cc20b052a3a66535a171c36b4b31477c0ba6d0
Gerrit-Change-Number: 12009
Gerrit-PatchSet: 3
Gerrit-Owner: Paul Rogers <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Paul Rogers <[email protected]>
Gerrit-Comment-Date: Fri, 14 Dec 2018 19:54:35 +0000
Gerrit-HasComments: Yes

Reply via email to