impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakub Kukul (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-2525: Treat parquet ENUMs as STRINGs when creating impala tables.
Date Fri, 02 Jun 2017 10:36:26 GMT
Jakub Kukul has posted comments on this change.

Change subject: IMPALA-2525: Treat parquet ENUMs as STRINGs when creating impala tables.

Patch Set 5:

File fe/src/main/java/org/apache/impala/analysis/

PS4, Line 276:       // the original data type, before conversion to parquet, had been enum.
> nit: Long line. Lines should wrap before 90 characters are hit.

PS4, Line 277: Ap
> nit: Please remove the extra leading spaces before 'types' (and in the line
File testdata/bin/

Line 144:   hadoop fs -put $SCHEMA_SRC_DIR/enum.parquet ${SCHEMA_DEST_DIR}/
> Please rename logicaltypes.parquet to enum.parquet. The current file name c
Fixed. This makes a lot of sense actually, since there's another file, called `decimal.parquet`
which contains decimal logical types.
File testdata/workloads/functional-query/queries/QueryTest/create-table-like-file.test:

Line 68: ====
> Add tests that runs a query against such a table, either in this file or so
I also thought about it, but eventually didn't do it because:
- This file contains only `CREATE` statements, so adding one `SELECT` statement wouldn't be
consistent. I didn't find any other good place to add this and I'm not sure if it's worth
adding dedicated test files for this.
- Once a table is created, querying a field that was originally annotated as ENUM will be
no different from querying a regular STRING field in parquet files and I guess there is already
test coverage for that.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia7a2e20c3ab83eb3fac422c3b33c117856fec475
Gerrit-PatchSet: 5
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Jakub Kukul <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Attila Jeges <>
Gerrit-Reviewer: Jakub Kukul <>
Gerrit-Reviewer: Jim Apple <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-HasComments: Yes

View raw message