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

Rest API to get Cube join SQL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.3.0
    • REST Service
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: