From f79b618141e07c140663791959d96956ad91d811 Mon Sep 17 00:00:00 2001 From: Aishik Date: Thu, 23 Nov 2023 23:33:52 +0530 Subject: [PATCH] fixed note in SpecialValueTransformer. --- .../local/recordtransformer/SpecialValueTransformer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/recordtransformer/SpecialValueTransformer.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/recordtransformer/SpecialValueTransformer.java index 33838031942d..29596e093572 100644 --- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/recordtransformer/SpecialValueTransformer.java +++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/recordtransformer/SpecialValueTransformer.java @@ -35,8 +35,9 @@ *
  • Negative zero (-0.0) should be converted to 0.0
  • *
  • NaN should be converted to default null
  • * - *

    NOTE: should put this after the {@link DataTypeTransformer} so that all values follow the data types in - * {@link FieldSpec}. + *

    NOTE: should put this after the {@link DataTypeTransformer} so that we already have the values complying + * with the schema before handling special values and before {@link NullValueTransformer} so that it transforms + * all the null values properly. */ public class SpecialValueTransformer implements RecordTransformer {