hi ! can`t build top of calcite (sha: commit
74e97780add051cb71a122075e5bcbceb)
$ ./gradlew build
Task :core:compileJava
/home/zstan/work/repo/calcite/core/src/main/java/org/apache/calcite/prepare/PlannerImpl.java:39:
warning: [deprecation]
org.apache.calcite.rel.metadata.CachingRelMetada
What is the exact Java version you are using?
It looks like https://bugs.openjdk.java.net/browse/JDK-8032211 , and it
might be that newer OpenJDK include the fix.
Vladimir
Thanks, i suppose it`s all ok with java
java -version
openjdk version "13.0.7" 2021-04-20
OpenJDK Runtime Environment (build 13.0.7+5-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 13.0.7+5-Ubuntu-0ubuntu120.04, mixed mode)
and not ok with:
build.gradle.kts
'''
val werror by props(true)
I think you hit CALCITE-4798 [1] but not sure why others didn't now bump
into this so far.
There is a PR ready, I will test if it resolves the problem for me and
merge it today.
Best,
Stamatis
[1] https://issues.apache.org/jira/browse/CALCITE-4798
On Wed, Oct 6, 2021 at 9:31 AM stanilovsky evge
Thanks Stamatis, seems it`s my case too)
Does no other build it locally for such a time ?:)
I think you hit CALCITE-4798 [1] but not sure why others didn't now bump
into this so far.
There is a PR ready, I will test if it resolves the problem for me and
merge it today.
Best,
Stamatis
[1] htt
>Does no other build it locally for such a time ?:)
Evgeny, it is very likely you hit the bug because you use a stale version
of OpenJDK.
What Stamatis merged is not a fix, but it is a workaround.
In any case, if you use an outdated Java version, it is up to you to figure
out why the build does n
Vladimir,
I think that's too harsh. In practice people aren't on the latest JDK version.
(CI environments usually are, and therefore we'll tend to miss these issues.)
We should make the process as painless as possible for everyone.
Julian
On 2021/10/06 10:54:17, Vladimir Sitnikov wrote:
> >D