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 {