You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by ag...@apache.org on 2025/04/21 17:54:50 UTC
(datafusion-comet) branch main updated: fix: update row groups count in internal metrics accumulator (#1658)
This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new 739a9f13e fix: update row groups count in internal metrics accumulator (#1658)
739a9f13e is described below
commit 739a9f13e6810f6507c0f1f2bf95149467e29b86
Author: Parth Chandra <pa...@apache.org>
AuthorDate: Mon Apr 21 10:54:46 2025 -0700
fix: update row groups count in internal metrics accumulator (#1658)
---
common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java b/common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java
index 121cbe8d6..45fce914f 100644
--- a/common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java
+++ b/common/src/main/java/org/apache/comet/parquet/NativeBatchReader.java
@@ -384,8 +384,7 @@ public class NativeBatchReader extends RecordReader<Void, ColumnarBatch> impleme
if (accu.isDefined() && accu.get().getClass().getSimpleName().equals("NumRowGroupsAcc")) {
@SuppressWarnings("unchecked")
AccumulatorV2<Integer, Integer> intAccum = (AccumulatorV2<Integer, Integer>) accu.get();
- // TODO: Get num_row_groups from native
- // intAccum.add(fileReader.getRowGroups().size());
+ intAccum.add(blocks.size());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org