You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2020/03/30 19:24:22 UTC

[GitHub] [drill] vvysotskyi commented on issue #2040: DRILL-7668: Allow Time Bucket Function to Accept Floats and Timestamps

vvysotskyi commented on issue #2040: DRILL-7668: Allow Time Bucket Function to Accept Floats and Timestamps
URL: https://github.com/apache/drill/pull/2040#issuecomment-606196720
 
 
   @cgivre, this pull request introduces unit tests failure:
   ```
   [ERROR] org.apache.drill.exec.udfs.TestTimeBucketFunction.testTimeBucketTimestamp  Time elapsed: 2.584 s  <<< ERROR!
   java.lang.Exception: 
   at position 0 column '`high`' mismatched values, expected: 2020-03-27T01:30(LocalDateTime) but received 2020-03-26T18:30(LocalDateTime)
   
   Expected Records near verification failure:
   Record Number: 0 { `high` : 2020-03-27T01:30, }
   
   
   Actual Records near verification failure:
   Record Number: 0 { `high` : 2020-03-26T18:30, }
   
   For query: SELECT time_bucket(CAST(1585272833845 AS TIMESTAMP), 300000) AS high FROM (values(1))
   	at org.apache.drill.exec.udfs.TestTimeBucketFunction.testTimeBucketTimestamp(TestTimeBucketFunction.java:116)
   Caused by: java.lang.Exception: 
   at position 0 column '`high`' mismatched values, expected: 2020-03-27T01:30(LocalDateTime) but received 2020-03-26T18:30(LocalDateTime)
   
   Expected Records near verification failure:
   Record Number: 0 { `high` : 2020-03-27T01:30, }
   
   
   Actual Records near verification failure:
   Record Number: 0 { `high` : 2020-03-26T18:30, }
   
   	at org.apache.drill.exec.udfs.TestTimeBucketFunction.testTimeBucketTimestamp(TestTimeBucketFunction.java:116)
   Caused by: java.lang.Exception: at position 0 column '`high`' mismatched values, expected: 2020-03-27T01:30(LocalDateTime) but received 2020-03-26T18:30(LocalDateTime)
   	at org.apache.drill.exec.udfs.TestTimeBucketFunction.testTimeBucketTimestamp(TestTimeBucketFunction.java:116)
   ```

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


With regards,
Apache Git Services