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

Rest API to get Cube join SQL

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.3.0
    • Component/s: REST Service
    • Labels:
      None

      Description

      Kylin's REST API "GET /kylin/api/{cubeName}/segs/{segmentName}/sql" can return a sample join SQL for the cube. While this API need a 'segmentName', this is unfriendly for a cube which doesn't have a segment.

      Proposal to:

      1. Add a simplified API without segmentName: 'GET /kylin/api/{cubeName}/sql', return the Cube's SQL
      2. Make the original API to return segment specific SQL, it may have the partition info in the where condition.

        Attachments

        1. KYLIN-3009.master.001.patch
          3 kB
          Shao Feng Shi

          Activity

            People

            • Assignee:
              shaofengshi Shao Feng Shi
              Reporter:
              shaofengshi Shao Feng Shi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: