Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2078

Can't see generated SQL at Web UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v1.5.4, v1.5.4.1
    • v1.6.0
    • 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

          Activity

            People

              shaofengshi Shao Feng Shi
              gaodayue Dayue Gao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: