HJK181 edited a comment on issue #7262:
URL: https://github.com/apache/pinot/issues/7262#issuecomment-898216662


   Oh one more point,
   
   what I also was not able to accomplish is using the default value for my 
date time field. I tried 
   ```
   "transformFunction": "Groovy({mappingTime == -1 ? 0 : mappingTime}, 
mappingTime)"
   ```
   resulting in 
   ```
   java.lang.IllegalStateException: Invalid segment start/end time: 
-292275055-05-16T16:47:04.192Z/-292275055-05-16T16:47:04.192Z (in millis: 
-9223372036854775808/-9223372036854775808) for time column: mappingTs, must be 
between: 1971-01-01T00:00:00.000Z/2071-01-01T00:00:00.000Z
   ```
   According to the docs, the default value for timestamp fields is `TIMESTAMP 
0 (1970-01-01 00:00:00 UTC)` 


-- 
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