You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Alexander Staubo (Jira)" <ji...@apache.org> on 2020/11/24 05:03:00 UTC

[jira] [Comment Edited] (CALCITE-4417) "Two non-abstract methods ... have the same parameter types"

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

Alexander Staubo edited comment on CALCITE-4417 at 11/24/20, 5:02 AM:
----------------------------------------------------------------------

Edit: Ignore this, see below.

-Calcite 1.25.0 does not seem to build for me: [^build.out]. Could it be incompatibilities with Java 11? I haven't worked with Java in 15 years. I just did a checkout and ran "gradle build".-


was (Author: atombender):
Calcite 1.25.0 does not seem to build for me: [^build.out]. Could it be incompatibilities with Java 11? I haven't worked with Java in 15 years. I just did a checkout and ran "gradle build".

> "Two non-abstract methods ... have the same parameter types"
> ------------------------------------------------------------
>
>                 Key: CALCITE-4417
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4417
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.26.0
>         Environment: {code:java}
> $ java -version
> openjdk version "11.0.9" 2020-10-20
> OpenJDK Runtime Environment (build 11.0.9+11)
> OpenJDK 64-Bit Server VM (build 11.0.9+11, mixed mode)
> $ git rev-parse HEAD
> cfa37c3fd6ae18894035721d9f1eacde40e6b268
> {code}
>            Reporter: Alexander Staubo
>            Priority: Major
>         Attachments: build.out, error.out
>
>
> I'm trying out the Elasticsearch adapter. My query:
> {code:java}
> select p._MAP['id'] as id, d._MAP['id'] as dept
> from "test_person" p
> join "test_department" d on d._MAP['id'] = p._MAP['department._ref']
> where p._MAP['department._ref'] is not null
> limit 1;
> {code}
> This fails with:
> {code:java}
> Error while compiling generated Java code: [...]
> Caused by: org.codehaus.janino.InternalCompilerException: Compiling "Baz": Two non-abstract methods "public int Baz$4.compare(java.lang.Object, java.lang.Object)" have the same parameter types, declaring type and return type
> {code}
> Full debug output: [^error.out]



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