You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/11/05 10:51:01 UTC

[jira] [Updated] (KYLIN-3009) Rest API to get Cube join SQL

     [ https://issues.apache.org/jira/browse/KYLIN-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI updated KYLIN-3009:
--------------------------------
    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 don't have 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, which means it may have the partition info in the where condition .
3. Another API for model level: 

  was:Kylin's REST API "/{cubeName}/segs/{segmentName}/sql" can return a sample join SQL for the cube. While this API need a 'segmentName'; It's better to have another API which doesn't need 'segmentName'


> Rest API to get Cube join SQL
> -----------------------------
>
>                 Key: KYLIN-3009
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3009
>             Project: Kylin
>          Issue Type: Improvement
>          Components: REST Service
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v2.3.0
>
>
> 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 don't have 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, which means it may have the partition info in the where condition .
> 3. Another API for model level: 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)