This is an automated email from the ASF dual-hosted git repository.
jackie 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 9d70f87c57e do not log actual data on segment creation (#17656)
9d70f87c57e is described below
commit 9d70f87c57e93497cc43ce3441245d7295691273
Author: Johan Adami <[email protected]>
AuthorDate: Tue Feb 17 20:02:10 2026 -0500
do not log actual data on segment creation (#17656)
---
.../creator/impl/SegmentDictionaryCreator.java | 27 ++++++++--------------
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentDictionaryCreator.java
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentDictionaryCreator.java
index f0c8e093e76..b45d7f8741f 100644
---
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentDictionaryCreator.java
+++
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentDictionaryCreator.java
@@ -122,8 +122,7 @@ public class SegmentDictionaryCreator implements
IndexCreator {
writer.writeInt(i, value);
}
}
- LOGGER.info("Created dictionary for INT column: {} with cardinality:
{}, range: {} to {}", _columnName,
- numValues, sortedInts[0], sortedInts[numValues - 1]);
+ LOGGER.info("Created dictionary for INT column: {} with cardinality:
{}", _columnName, numValues);
return;
case LONG:
@@ -142,8 +141,7 @@ public class SegmentDictionaryCreator implements
IndexCreator {
writer.writeLong(i, value);
}
}
- LOGGER.info("Created dictionary for LONG column: {} with cardinality:
{}, range: {} to {}", _columnName,
- numValues, sortedLongs[0], sortedLongs[numValues - 1]);
+ LOGGER.info("Created dictionary for LONG column: {} with cardinality:
{}", _columnName, numValues);
return;
case FLOAT:
@@ -162,8 +160,7 @@ public class SegmentDictionaryCreator implements
IndexCreator {
writer.writeFloat(i, value);
}
}
- LOGGER.info("Created dictionary for FLOAT column: {} with cardinality:
{}, range: {} to {}", _columnName,
- numValues, sortedFloats[0], sortedFloats[numValues - 1]);
+ LOGGER.info("Created dictionary for FLOAT column: {} with cardinality:
{}", _columnName, numValues);
return;
case DOUBLE:
@@ -182,8 +179,7 @@ public class SegmentDictionaryCreator implements
IndexCreator {
writer.writeDouble(i, value);
}
}
- LOGGER.info("Created dictionary for DOUBLE column: {} with
cardinality: {}, range: {} to {}", _columnName,
- numValues, sortedDoubles[0], sortedDoubles[numValues - 1]);
+ LOGGER.info("Created dictionary for DOUBLE column: {} with
cardinality: {}", _columnName, numValues);
return;
case BIG_DECIMAL:
@@ -203,9 +199,8 @@ public class SegmentDictionaryCreator implements
IndexCreator {
}
writeBytesValueDictionary(sortedBigDecimalBytes);
- LOGGER.info("Created dictionary for BIG_DECIMAL column: {} with
cardinality: {}, max length in bytes: {}, "
- + "range: {} to {}", _columnName, numValues,
_numBytesPerEntry, sortedBigDecimals[0],
- sortedBigDecimals[numValues - 1]);
+ LOGGER.info("Created dictionary for BIG_DECIMAL column: {} with
cardinality: {}, max length in bytes: {}",
+ _columnName, numValues, _numBytesPerEntry);
return;
case STRING:
@@ -225,9 +220,8 @@ public class SegmentDictionaryCreator implements
IndexCreator {
}
writeBytesValueDictionary(sortedStringBytes);
- LOGGER.info(
- "Created dictionary for STRING column: {} with cardinality: {},
max length in bytes: {}, range: {} to {}",
- _columnName, numValues, _numBytesPerEntry, sortedStrings[0],
sortedStrings[numValues - 1]);
+ LOGGER.info("Created dictionary for STRING column: {} with
cardinality: {}, max length in bytes: {}",
+ _columnName, numValues, _numBytesPerEntry);
return;
case BYTES:
@@ -246,9 +240,8 @@ public class SegmentDictionaryCreator implements
IndexCreator {
}
writeBytesValueDictionary(sortedByteArrays);
- LOGGER.info(
- "Created dictionary for BYTES column: {} with cardinality: {}, max
length in bytes: {}, range: {} to {}",
- _columnName, numValues, _numBytesPerEntry, sortedBytes[0],
sortedBytes[numValues - 1]);
+ LOGGER.info("Created dictionary for BYTES column: {} with cardinality:
{}, max length in bytes: {}",
+ _columnName, numValues, _numBytesPerEntry);
return;
default:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]