[ 
https://issues.apache.org/jira/browse/CALCITE-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-4793.
----------------------------------
    Fix Version/s: 1.28.0
       Resolution: Fixed

Fixed in 
[d4640d0b|https://github.com/apache/calcite/commit/d4640d0bcca6ba77c4b0911f48b39f4bf47d757f].
 Also fixes the Elasticsearch compile failure that was introduced by the 
upgrade to Guava 30.

[~asolimando], Thank you! I really appreciate you jumping in quickly to fix 
this, especially as it was me who initiated the whole fire drill.

> CassandraAdapterDataTypesTest.testCollectionsInnerValues fails depending on 
> the user timezone
> ---------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4793
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4793
>             Project: Calcite
>          Issue Type: Bug
>          Components: cassandra-adapter
>    Affects Versions: 1.27.0
>            Reporter: Alessandro Solimando
>            Assignee: Alessandro Solimando
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.28.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Depending on the user timezone, the test fails because the value of the 
> timestamp field is not the expected one.
> For instance, the following command:
> {noformat}
> ./gradlew :cassandra:test --tests 
> "org.apache.calcite.test.CassandraAdapterDataTypesTest.testCollectionsInnerValues"
>  -Pguava.version=25.0-jre -Duser.timezone=GMT{noformat}
> causes the following test failure:
> {noformat}
> java.lang.AssertionError: Expected: is "EXPR$0=1; EXPR$1=v1; 1=3000000000; 
> 2=30ff87; 3=2015-05-03 11:30:54\n" but: was "EXPR$0=1; EXPR$1=v1; 
> 1=3000000000; 2=30ff87; 3=2015-05-03 13:30:54\n"{noformat}
> The issue is not present for guava versions >= 26.0-jre.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to