[ 
https://issues.apache.org/jira/browse/CALCITE-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418598#comment-17418598
 ] 

Alessandro Solimando commented on CALCITE-4789:
-----------------------------------------------

I have tried to reproduce the error without success using your branch 
[4789-guava-19.|https://github.com/julianhyde/calcite/tree/4789-guava-19]

Here is an example of how I run the tests (I tried 5 versions between 19 and 28 
by looking [here|https://repo.maven.apache.org/maven2/com/google/guava/guava/]):

 
{code:java}
./gradlew :cassandra:test --tests 
"org.apache.calcite.test.CassandraAdapterDataTypesTest.testCollectionsInnerValues"
 -Pguava.version=19.0{code}
Here is the output:
{noformat}
Gradle Test Executor 15 STANDARD_OUT
 2021-09-22 15:20:29 [ForkJoinPool-1-worker-9] ERROR 
o.a.cassandra.service.StorageService - Stopping gossiper
 21.5sec, 1 completed, 0 failed, 0 skipped, Gradle Test Run 
:cassandra:test{noformat}
Since the value that was changed is _timestamp_, I also tried different time 
zones, the test is still successful:

 
{noformat}
./gradlew :cassandra:test --tests 
"org.apache.calcite.test.CassandraAdapterDataTypesTest.testCollectionsInnerValues"
 -Pguava.version=19.0 -Duser.timezone="America/Los_Angeles"{noformat}
I have tried also to run the test directly from IntelliJ, the test is passing.

I must be missing something but I tried all I could think of, do you have any 
suggestions?

 

 

> Build is broken on Guava versions < 21
> --------------------------------------
>
>                 Key: CALCITE-4789
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4789
>             Project: Calcite
>          Issue Type: Bug
>         Environment: The build is currently broken on Guava versions 20 and 
> lower. We claim in the release notes to support Guava 19 and higher.
> As part of this change, enable testing in CI of the lowest and highest 
> supported Guava version. (We used to do this, but we stopped when we moved 
> from Maven to Gradle. I still don't know how to set the Guava version from 
> the Gradle command line.)
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.28.0
>
>
> The build is broken on versions of Gradle less than 21. In our release notes 
> we say we support Gradle 19 and higher.
> We used to test the supported range of Guava versions in CI. The fix for this 
> issue must resume CI testing for the range of supported versions (currently 
> 19.0 to 29.0-jre per 
> [history.md|https://calcite.apache.org/docs/history.html] and 19.0 and higher 
> per a comment in {{gradle.properties}}).
> How do I set the Guava version from the Gradle command line? I’d expect
> {code:java}
>  ./gradlew -Dguava.version=19.0
> {code}



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

Reply via email to