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

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

Dayue Gao created KYLIN-2078:
--------------------------------

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