You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/11/05 08:48:17 UTC

[GitHub] [incubator-pinot] hotienvu commented on pull request #6233: Make sure DatetimeFormatter always uses UTC

hotienvu commented on pull request #6233:
URL: https://github.com/apache/incubator-pinot/pull/6233#issuecomment-722234395


   @Jackie-Jiang  Actually when I tried to run the test in my local machine, this is what it gives: (my local timezone is UTC+8)
   ```
   java.lang.IllegalStateException: Invalid segment start/end time: 1970-12-31T16:30:00.000Z/2020-10-29T16:00:00.000Z (in millis: 31509000000/1603987200000) for time column: date, must be between: 1971-01-01T00:00:00.000Z/2071-01-01T00:00:00.000Z
   
   	at com.google.common.base.Preconditions.checkState(Preconditions.java:469)
   	at org.apache.pinot.core.segment.creator.impl.SegmentColumnarIndexCreator.writeMetadata(SegmentColumnarIndexCreator.java:457)
   	at org.apache.pinot.core.segment.creator.impl.SegmentColumnarIndexCreator.seal(SegmentColumnarIndexCreator.java:404)
   	at org.apache.pinot.core.segment.creator.impl.SegmentIndexCreationDriverImpl.handlePostCreation(SegmentIndexCreationDriverImpl.java:252)
   	at org.apache.pinot.core.segment.creator.impl.SegmentIndexCreationDriverImpl.build(SegmentIndexCreationDriverImpl.java:235)
   	at org.apache.pinot.core.segment.index.creator.SegmentGenerationWithTimeColumnTest.buildSegment(SegmentGenerationWithTimeColumnTest.java:205)
   	at org.apache.pinot.core.segment.index.creator.SegmentGenerationWithTimeColumnTest.testSimpleDateSegmentGeneration(SegmentGenerationWithTimeColumnTest.java:91)
   ```
   
   


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

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



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