Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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.