kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Long (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-2200) CompileException on UNION ALL query when result only contains one column
Date Tue, 30 Oct 2018 07:14:00 GMT

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

Chao Long commented on KYLIN-2200:
----------------------------------

verified.

> CompileException on UNION ALL query when result only contains one column
> ------------------------------------------------------------------------
>
>                 Key: KYLIN-2200
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2200
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v1.5.4.1
>            Reporter: Dayue Gao
>            Assignee: Dayue Gao
>            Priority: Major
>             Fix For: v2.5.1
>
>         Attachments: KYLIN-2200.patch
>
>
> {code:sql}
> select count(*) from kylin_sales
> union all
> select count(*) from kylin_sales
> {code}
> got following exception
> {noformat}
> Caused by: org.codehaus.commons.compiler.CompileException: Line 82, Column 32: Cannot
determine simple type name "Record11_1"
>         at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10092)
>         at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5375)
>         at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:5184)
>         at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5165)
>         at org.codehaus.janino.UnitCompiler.access$12600(UnitCompiler.java:183)
>         at org.codehaus.janino.UnitCompiler$16.visitReferenceType(UnitCompiler.java:5096)
>         at org.codehaus.janino.Java$ReferenceType.accept(Java.java:2880)
>         at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:5136)
>         at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:5598)
>         at org.codehaus.janino.UnitCompiler.access$13300(UnitCompiler.java:183)
>         at org.codehaus.janino.UnitCompiler$16.visitCast(UnitCompiler.java:5104)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message