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

[jira] [Commented] (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=17237025#comment-17237025 ] 

Vladimir Sitnikov commented on CALCITE-4417:
--------------------------------------------

I believe this duplicates CALCITE-4329

> "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: 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)