xiangfu0 commented on code in PR #19014:
URL: https://github.com/apache/pinot/pull/19014#discussion_r3611325879


##########
helm/pinot/values.yaml:
##########
@@ -29,9 +29,9 @@ image:
   #   - `release-x.y.z` or `x.y.z` tags are available for each release, e.g. 
release-1.0.0, release-0.12.1, 1.0.0, 0.12.1, etc.
   #
   # Default JDK comes with Amazon Corretto 21, here are also images with 
supported JDK 21 variants:
-  #   - Amazon Corretto 21, e.g. `latest`, `latest-21`, `1.0.0-21`, 
`latest-21-amazoncorretto`,
-  #     `1.0.0-21-amazoncorretto`
-  #   - MS OpenJDK 21, e.g. `latest-21-ms-openjdk`, `1.0.0-21-ms-openjdk`
+  #   - Amazon Corretto 25, e.g. `latest`, `latest-25`, `1.0.0-25`, 
`latest-25-amazoncorretto`,
+  #     `1.0.0-25-amazoncorretto`
+  #   - MS OpenJDK 25, e.g. `latest-25-ms-openjdk`, `1.0.0-25-ms-openjdk`

Review Comment:
   Fixed in 7a818dc837 — comment now says Corretto 25 / JDK 25 variants.



##########
docker/images/pinot-base/README.md:
##########
@@ -36,19 +36,19 @@ The build shell is:
 For Amazon Corretto 21:

Review Comment:
   Fixed in 7a818dc837 — header updated to "For Amazon Corretto 25".



##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/aggregator/IntegerTupleSketchValueAggregator.java:
##########
@@ -62,23 +62,24 @@ public DataType getAggregatedValueType() {
 
   @Override
   public Object getInitialAggregatedValue(@Nullable byte[] rawValue) {
-    Union tupleUnion = new Union<>(_nominalEntries, new 
IntegerSummarySetOperations(_mode, _mode));
+    TupleUnion tupleUnion = new TupleUnion<>(_nominalEntries, new 
IntegerSummarySetOperations(_mode, _mode));

Review Comment:
   Fixed in 7a818dc837 — all remaining raw `TupleUnion`/`TupleSketch` usages in 
this class are now parameterized with `IntegerSummary`.



##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/aggregator/IntegerTupleSketchValueAggregator.java:
##########
@@ -100,15 +101,15 @@ private Sketch extractSketch(Object value) {
 
   @Override
   public Object applyRawValue(Object aggregatedValue, byte[] rawValue) {
-    Union tupleUnion = extractUnion(aggregatedValue);
+    TupleUnion tupleUnion = extractUnion(aggregatedValue);

Review Comment:
   Fixed in 7a818dc837 — all remaining raw `TupleUnion`/`TupleSketch` usages in 
this class are now parameterized with `IntegerSummary`.



##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/aggregator/IntegerTupleSketchValueAggregator.java:
##########
@@ -100,15 +101,15 @@ private Sketch extractSketch(Object value) {
 
   @Override
   public Object applyRawValue(Object aggregatedValue, byte[] rawValue) {
-    Union tupleUnion = extractUnion(aggregatedValue);
+    TupleUnion tupleUnion = extractUnion(aggregatedValue);
     tupleUnion.union(deserializeAggregatedValue(rawValue));
     return tupleUnion;
   }
 
   @Override
   public Object applyAggregatedValue(Object value, Object aggregatedValue) {
-    Union tupleUnion = extractUnion(aggregatedValue);
-    Sketch sketch = extractSketch(value);
+    TupleUnion tupleUnion = extractUnion(aggregatedValue);
+    TupleSketch sketch = extractSketch(value);

Review Comment:
   Fixed in 7a818dc837 — all remaining raw `TupleUnion`/`TupleSketch` usages in 
this class are now parameterized with `IntegerSummary`.



##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/aggregator/IntegerTupleSketchValueAggregator.java:
##########
@@ -145,12 +146,12 @@ public int getMaxAggregatedValueByteSize() {
 
   @Override
   public byte[] serializeAggregatedValue(Object value) {
-    Sketch sketch = extractSketch(value);
+    TupleSketch sketch = extractSketch(value);

Review Comment:
   Fixed in 7a818dc837 — all remaining raw `TupleUnion`/`TupleSketch` usages in 
this class are now parameterized with `IntegerSummary`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to