Steve Carlin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/22728 )

Change subject: IMPALA-13738 (Part2) WIP: Clean up code in Catalog's table and 
partition interfaces
......................................................................


Patch Set 2:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/22728/2/common/thrift/CatalogObjects.thrift
File common/thrift/CatalogObjects.thrift:

http://gerrit.cloudera.org:8080/#/c/22728/2/common/thrift/CatalogObjects.thrift@743
PS2, Line 743:   // Set if this is an iceberg table
nit: slight inconsistency that iceberg is capitalized on line 723 but lowercase 
here


http://gerrit.cloudera.org:8080/#/c/22728/2/fe/src/main/java/org/apache/impala/catalog/FeFsPartition.java
File fe/src/main/java/org/apache/impala/catalog/FeFsPartition.java:

http://gerrit.cloudera.org:8080/#/c/22728/2/fe/src/main/java/org/apache/impala/catalog/FeFsPartition.java@46
PS2, Line 46: public interface FeFsPartition extends PrunablePartition{
nit: space


http://gerrit.cloudera.org:8080/#/c/22728/2/fe/src/main/java/org/apache/impala/catalog/FeFsTable.java
File fe/src/main/java/org/apache/impala/catalog/FeFsTable.java:

http://gerrit.cloudera.org:8080/#/c/22728/2/fe/src/main/java/org/apache/impala/catalog/FeFsTable.java@496
PS2, Line 496:     for (FeFsPartition p: orderedPartitions) {
I know this isn't really part of what you intended to change since you grabbed 
this from another file, but you are refactoring :)

Can we put the code that creates the TResult within this "for" loop into 
FeFsPartition instead?

I know we need the "total*" fields, but those can stay in this method, but I 
think the generation of TResult should go in FeFsPartition.  The values can be 
grabbed off of the returned TResult object.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8d9c7ba876e39fa4f4d067761f25dc4ecfd55702
Gerrit-Change-Number: 22728
Gerrit-PatchSet: 2
Gerrit-Owner: Noemi Pap-Takacs <npaptak...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Steve Carlin <scar...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Apr 2025 14:17:28 +0000
Gerrit-HasComments: Yes

Reply via email to