This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 86958b6 Adding min/max value for column stats during segment creation
(#8452)
86958b6 is described below
commit 86958b6e0bcdd51c3de0afc1196baea64bc4b92c
Author: Xiang Fu <[email protected]>
AuthorDate: Thu Mar 31 14:48:17 2022 -0700
Adding min/max value for column stats during segment creation (#8452)
---
.../segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
index c2a9a7c..ef8b9d3 100644
---
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
+++
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java
@@ -176,6 +176,8 @@ public class SegmentColumnarIndexCreator implements
SegmentCreator {
.withDictionary(dictEnabledColumn)
.withFieldSpec(fieldSpec)
.withTotalDocs(segmentIndexCreationInfo.getTotalDocs())
+ .withMinValue((Comparable<?>) columnIndexCreationInfo.getMin())
+ .withMaxValue((Comparable<?>) columnIndexCreationInfo.getMax())
.withTotalNumberOfEntries(columnIndexCreationInfo.getTotalNumberOfEntries())
.withColumnIndexCreationInfo(columnIndexCreationInfo)
.sorted(columnIndexCreationInfo.isSorted())
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]