impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huaisi Xu (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-3687: Use type from Avro schema during schema reconciliation.
Date Mon, 13 Jun 2016 17:49:08 GMT
Huaisi Xu has posted comments on this change.

Change subject: IMPALA-3687: Use type from Avro schema during schema reconciliation.

Patch Set 4:

Commit Message:

Line 7: IMPALA-3687: Use type from Avro schema during schema reconciliation.
> Always prefer the Avro field name during schema reconciliation.
It is unclear to me what "field name" refers to... I think we should explicitly say "from
schema definition"..? maybe I missed something so I will use your suggestion..

Line 9: There is no effect that we change the name of a STRING/CHAR/VARCHAR
> This blurb is very difficult to follow. It would be good to summarize the n
Done. I think "but keep the name and comment from the Avro column." should be "but keep the
name and comment from Avro schema definition."
File fe/src/main/java/com/cloudera/impala/util/

PS2, Line 116: 
> Bharath is correct that the comment had an original intention. The comment 
File fe/src/main/java/com/cloudera/impala/util/

PS4, Line 113: A
> grammar; also could be rephrased for clarity, e.g.:
File testdata/workloads/functional-query/queries/QueryTest/avro-schema-changes.test:

Line 71: # IMPALA-3687. Create a table that has different Avro schema from its column definition
> Create a table with mismatched column definitions and Avro schema.

Line 86: LOCATION '$FILESYSTEM_PREFIX/test-warehouse/alltypesaggmultifilesnopart_avro_snap'
> remove this clause - it only adds confusion

Line 95: {"type": ["float", "null"], "name": "float_col_changed", "doc": "float comment changed"},
> typo: changed
since we put this in avro-schema-resolution, I changed this to *_mismatch

To view, visit
To unsubscribe, visit

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

View raw message