Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23838 )

Change subject: IMPALA-14564: Remove redundant partition info from Iceberg file 
descriptors
......................................................................


Patch Set 3:

(11 comments)

gerrit-auto-critic failed. You can reproduce it locally using command:

  python3 bin/jenkins/critique-gerrit-review.py --dryrun

To run it, you might need a virtual env with Python3's venv installed.

http://gerrit.cloudera.org:8080/#/c/23838/3/be/src/exec/file-metadata-utils.h
File be/src/exec/file-metadata-utils.h:

http://gerrit.cloudera.org:8080/#/c/23838/3/be/src/exec/file-metadata-utils.h@76
PS3, Line 76:   /// Writes the Iceberg columns from FbIcebergMetadataRange into 
template_tuple. Updates the
line too long (93 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/be/src/exec/hdfs-scan-node-base.cc
File be/src/exec/hdfs-scan-node-base.cc:

http://gerrit.cloudera.org:8080/#/c/23838/3/be/src/exec/hdfs-scan-node-base.cc@269
PS3, Line 269:         file_metadata = 
flatbuffers::GetRoot<org::apache::impala::fb::FbFileMetadataRange>(
line too long (91 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/be/src/exec/hdfs-scan-node-base.cc@914
PS3, Line 914:   const FbFileMetadataRange* file_metadata = 
context->GetStream(0)->file_desc()->file_metadata;
line too long (95 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/common/fbs/CatalogObjects.fbs
File common/fbs/CatalogObjects.fbs:

PS3:
This file is used in communication between impalad and catalogd/statestore. 
Please make sure impalads can still work with new/old versions of catalogd and 
statestore. Basically only new fields can be added and should be added at the 
end of a table definition.
https://flatbuffers.dev/flatbuffers_guide_writing_schema.html


http://gerrit.cloudera.org:8080/#/c/23838/3/common/fbs/IcebergObjects.fbs
File common/fbs/IcebergObjects.fbs:

PS3:
This file is used in communication between impalad and catalogd/statestore. 
Please make sure impalads can still work with new/old versions of catalogd and 
statestore. Basically only new fields can be added and should be added at the 
end of a table definition.
https://flatbuffers.dev/flatbuffers_guide_writing_schema.html


http://gerrit.cloudera.org:8080/#/c/23838/3/common/thrift/CatalogObjects.thrift
File common/thrift/CatalogObjects.thrift:

http://gerrit.cloudera.org:8080/#/c/23838/3/common/thrift/CatalogObjects.thrift@681
PS3, Line 681:   9: optional list<binary> partitions
Changing type of field 'partitions' from list<TIcebergPartition> to 
list<binary> in TIcebergContentFileStore might break the compatibility between 
impalad and catalogd/statestore during upgrade


http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/catalog/IcebergContentFileStore.java
File fe/src/main/java/org/apache/impala/catalog/IcebergContentFileStore.java:

http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/catalog/IcebergContentFileStore.java@206
PS3, Line 206:     // Partitions with their corresponding ids that are used to 
refer to the partition info
line too long (91 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java
File fe/src/main/java/org/apache/impala/util/IcebergUtil.java:

http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java@1175
PS3, Line 1175:     FbIcebergMetadataRange.addFirstRowId(fbb, 
iceMetadata.firstRowId());
line has trailing whitespace


http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java@1185
PS3, Line 1185:     return 
FbFileMetadataRange.getRootAsFbFileMetadataRange((ByteBuffer)compressedBb.flip());
line too long (93 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java@1188
PS3, Line 1188:   private static int copyPartitionKeys(FlatBufferBuilder fbb, 
FbIcebergPartition partition) {
line too long (93 > 90)


http://gerrit.cloudera.org:8080/#/c/23838/3/fe/src/main/java/org/apache/impala/util/IcebergUtil.java@1205
PS3, Line 1205:       partitionKeyOffsets[i] =
line has trailing whitespace



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I57c2fd6f1ebb636aa9e7ca925413ca51858cbc2a
Gerrit-Change-Number: 23838
Gerrit-PatchSet: 3
Gerrit-Owner: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 22 Apr 2026 14:25:28 +0000
Gerrit-HasComments: Yes

Reply via email to