kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dayue Gao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-2078) Can't see generated SQL at Web UI
Date Mon, 10 Oct 2016 08:22:20 GMT
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)

Mime
View raw message