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

add table use rest api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • v1.5.1
    • v1.5.1
    • REST Service
    • None

    Description

      when i add table use rest api /tables/addStreamingSrc, an exception found in server:
      java.lang.IllegalStateException: Cannot find table 'null' in metadata manager
      at org.apache.kylin.metadata.project.ProjectManager.addTableDescToProject(ProjectManager.java:284)
      at org.apache.kylin.rest.service.CubeService.syncTableToProject(CubeService.java:580)

      i think this code in TableController::addStreamingTable maybe wrong
      cubeMgmtService.syncTableToProject(new String[]

      {desc.getName()}

      , project);

      it should be :
      cubeMgmtService.syncTableToProject(new String[]

      {desc.getIdentity()}

      , project);

      Attachments

        Activity

          People

            zhongjian Jason Zhong
            mu.xufan xufan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: