Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v1.5.4, v1.5.4.1
-
None
-
None
Description
After KYLIN-1966, user can't see generated SQL at cube page.
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)
Seems segmentName passed into CubeController#getSql is always null, should use `EngineFactory.getJoinedFlatTableDesc(cube.getDescriptor())` instead.
Attachments
Issue Links
- is duplicated by
-
KYLIN-2120 kylin1.5.4.1 with cdh5.7 cube sql Oops Faild to take action
- Closed
-
KYLIN-2074 Error happens when click the "SQL" section of cube
- Closed