Csaba Ringhofer has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19898 )

Change subject: IMPALA-10186: Fix writing empty parquet page
......................................................................


Patch Set 3: Code-Review+1

(4 comments)

http://gerrit.cloudera.org:8080/#/c/19898/3/be/src/exec/parquet/hdfs-parquet-table-writer.cc
File be/src/exec/parquet/hdfs-parquet-table-writer.cc:

http://gerrit.cloudera.org:8080/#/c/19898/3/be/src/exec/parquet/hdfs-parquet-table-writer.cc@537
PS3, Line 537:         return false;
A dcheck could be added for current_page_->header.uncompressed_page_size == 0 
as this shouldn't occur in empty pages


http://gerrit.cloudera.org:8080/#/c/19898/3/be/src/exec/parquet/hdfs-parquet-table-writer.cc@928
PS3, Line 928: so we may need to try again more than once.
after the patch we try again only once


http://gerrit.cloudera.org:8080/#/c/19898/3/be/src/exec/parquet/hdfs-parquet-table-writer.cc@946
PS3, Line 946:
Can you add a comment about this being a second try and that it needs to 
succeed?


http://gerrit.cloudera.org:8080/#/c/19898/3/testdata/datasets/functional/functional_schema_template.sql
File testdata/datasets/functional/functional_schema_template.sql:

http://gerrit.cloudera.org:8080/#/c/19898/3/testdata/datasets/functional/functional_schema_template.sql@4160
PS3, Line 4160: empty_parquet_page
a name like empty_parquet_page_source and a comment with the Jira number could 
make the role of this table clearer



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I90d30d958f07c6289a1beba1b5df1ab3d7213799
Gerrit-Change-Number: 19898
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Thu, 18 May 2023 12:32:47 +0000
Gerrit-HasComments: Yes

Reply via email to