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

Change subject: IMPALA-14094: Prepend to commit, refactor estimated table stats
......................................................................


Patch Set 4:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/23185/4/fe/src/main/java/org/apache/impala/planner/HdfsEstimatedMissingTableStats.java
File 
fe/src/main/java/org/apache/impala/planner/HdfsEstimatedMissingTableStats.java:

http://gerrit.cloudera.org:8080/#/c/23185/4/fe/src/main/java/org/apache/impala/planner/HdfsEstimatedMissingTableStats.java@40
PS4, Line 40:   public final int numPartitionsWithNumRows_;
> nit: preserving the code comments here could be nice if they're still relev
Done


http://gerrit.cloudera.org:8080/#/c/23185/4/fe/src/main/java/org/apache/impala/planner/HdfsEstimatedMissingTableStats.java@108
PS4, Line 108:       partitionNumRows_ = partitionNumRows;
> Why do it this way? So the class variables can be final?
Yeah, that was pretty much it.  I have a preference towards final variables 
(and then there's also no real need for a "getter" method either.)

If you have a different way that you think is more elegant, I'm open to 
suggestions.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I522e5105867fa1c85df5c04a4bc6cdd5d63443f0
Gerrit-Change-Number: 23185
Gerrit-PatchSet: 4
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Wed, 23 Jul 2025 17:29:10 +0000
Gerrit-HasComments: Yes

Reply via email to