impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitris Tsirogiannis (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3687: Prefer Avro field name during schema reconciliation
Date Wed, 15 Jun 2016 18:14:09 GMT
Dimitris Tsirogiannis has posted comments on this change.

Change subject: IMPALA-3687: Prefer Avro field name during schema reconciliation

Patch Set 5:

File fe/src/main/java/com/cloudera/impala/util/

PS5, Line 114:  
"from the column definition"

PS5, Line 112: Mismatched name/type -> Prefer Avro column, except:
             :    *   A CHAR/VARCHAR column definition maps to an Avro STRING. The reconciled
             :    *   will preserve the CHAR/VARCHAR type but prefer the column name and comment
             :    *   the Avro column.
Maybe it will be more clear if you have:
Mismatched type -> Prefer ... except
Mismatched name/comment -> Prefer

PS5, Line 119: AnalysisException
You need to comment when this function throws an AnalysisException.

Line 136:       // as a CHAR/VARCHAR in the reconciled schema.
Comment that the name and comment come from the Avro schema.
File testdata/workloads/functional-query/queries/QueryTest/avro-schema-resolution.test:

PS5, Line 80: INT
Can we add a type mismatch as well? e.g. make this float

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia3e43b2885853c2b4f207a45a873c9d7f31379cd
Gerrit-PatchSet: 5
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Huaisi Xu <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Huaisi Xu <>
Gerrit-HasComments: Yes

View raw message