impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Ivanfi (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-784: Use `-s in SHOW CREATE TABLE output
Date Thu, 29 Sep 2016 19:40:31 GMT
Zoltan Ivanfi has posted comments on this change.

Change subject: IMPALA-784: Use `-s in SHOW CREATE TABLE output

Patch Set 2:

(1 comment)
File fe/src/main/java/com/cloudera/impala/analysis/

Line 76:     return Joiner.on(".").join(getStandaloneIdentSqlList((Splitter.on('.').split(ident))));
> Those are two separate issues. In your example, we are guarding against a l
I added splitting because when I just put the whole string between backticks then Impala ended
up escaping qualified identifiers of complex types incorrectly. I noticed that these references
were already in a string form by the time getIdentSql gets called, so there is no way to properly
quote them without refactoring to pass them in a structured format to the affected functions.

The "Invalid column/field name" error message mislead me to believe that dots are not allowed
in any identifier, which lead me to come up with my approach which would work if identifiers
really couldn't contain dots. Since this turned out to be a false assumption, it seems that
I have to discard this change as this task can only be implemented properly after IMPALA-2287
and probably some other refactorings.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I8e66439daa35d2e3725e7277c16f3cc5fdb6f128
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Zoltan Ivanfi <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Reviewer: Zoltan Ivanfi <>
Gerrit-HasComments: Yes

View raw message