You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dayue Gao (JIRA)" <ji...@apache.org> on 2016/10/10 08:28:20 UTC

[jira] [Resolved] (KYLIN-2078) Can't see generated SQL at Web UI

     [ https://issues.apache.org/jira/browse/KYLIN-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dayue Gao resolved KYLIN-2078.
------------------------------
    Resolution: Fixed

commit 94a9f38 to master

> Can't see generated SQL at Web UI
> ---------------------------------
>
>                 Key: KYLIN-2078
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2078
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v1.5.4, v1.5.4.1
>            Reporter: Dayue Gao
>            Assignee: Dayue Gao
>
> After KYLIN-1966, user can't see generated SQL at cube page.
> {noformat}
> 2016-10-10 15:45:17,975 ERROR [http-bio-8080-exec-13] controller.BasicController:44 :
> java.lang.NullPointerException
>         at org.apache.kylin.engine.EngineFactory.batchEngine(EngineFactory.java:44)
>         at org.apache.kylin.engine.EngineFactory.getJoinedFlatTableDesc(EngineFactory.java:58)
>         at org.apache.kylin.rest.controller.CubeController.getSql(CubeController.java:155)
> {noformat}
> Seems segmentName passed into CubeController#getSql is always null, should use `EngineFactory.getJoinedFlatTableDesc(cube.getDescriptor())` instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)