dianaarnos commented on issue #7758:
URL: https://github.com/apache/pinot/issues/7758#issuecomment-968662407


   Thanks for the quick answer, @Jackie-Jiang !
   I did the changes to the schema and `dateTimeConvert()` and now I get 
another error:
   ```json
   [
     {
       "message": 
"QueryExecutionError:\norg.joda.time.IllegalFieldValueException: Value 0 for 
dayOfMonth must be in the range [1,31]\n\tat 
org.joda.time.field.FieldUtils.verifyValueBounds(FieldUtils.java:259)\n\tat 
org.joda.time.field.PreciseDurationDateTimeField.set(PreciseDurationDateTimeField.java:79)\n\tat
 org.joda.time.DateTime.withDayOfMonth(DateTime.java:1782)\n\tat 
org.apache.pinot.core.operator.transform.transformer.datetime.BaseDateTimeTransformer.lambda$new$4(BaseDateTimeTransformer.java:83)\n\tat
 
org.apache.pinot.core.operator.transform.transformer.datetime.BaseDateTimeTransformer.transformMillisToSDF(BaseDateTimeTransformer.java:104)\n\tat
 
org.apache.pinot.core.operator.transform.transformer.datetime.SDFToSDFTransformer.transform(SDFToSDFTransformer.java:41)\n\tat
 
org.apache.pinot.core.operator.transform.function.DateTimeConversionTransformFunction.transformToStringValuesSV(DateTimeConversionTransformFunction.java:164)\n\tat
 org.apache.pinot.core.operator.docvalsets.Tra
 nsformBlockValSet.getStringValuesSV(TransformBlockValSet.java:90)\n\tat 
org.apache.pinot.core.common.RowBasedBlockValueFetcher.createFetcher(RowBasedBlockValueFetcher.java:64)\n\tat
 
org.apache.pinot.core.common.RowBasedBlockValueFetcher.<init>(RowBasedBlockValueFetcher.java:32)\n\tat
 
org.apache.pinot.core.operator.query.SelectionOnlyOperator.getNextBlock(SelectionOnlyOperator.java:82)\n\tat
 
org.apache.pinot.core.operator.query.SelectionOnlyOperator.getNextBlock(SelectionOnlyOperator.java:38)\n\tat
 
org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:49)\n\tat
 
org.apache.pinot.core.operator.combine.BaseCombineOperator.processSegments(BaseCombineOperator.java:150)",
       "errorCode": 200
     }
   ]
   ```
   The date on the message is exact the same one on my original post example: 
`"operationDate": "2021-05-20T12:55:54.000+0000"`
   
   I will try the transform. Worst case scenario I'll change my producer's 
write the message already as millis since epoch and avoid all of this =/


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to