[ 
https://issues.apache.org/jira/browse/KYLIN-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928311#comment-17928311
 ] 

Guoliang Sun commented on KYLIN-6031:
-------------------------------------

h3. Dev Design

Extend the `getTableListAPI` to support querying internal table details. The 
completed API is as follows:

URL: 
`/api/internal_tables/?project=\{project}&need_details=\{true}&table=\{table}&database=\{database}`
  
Method: GET  

URL Parameters:
- `database` (string): The database name to view (optional, supports fuzzy 
matching).  
- `table` (string): The internal table name to view (optional, supports fuzzy 
matching).  
- `project` (string): Project name (required).  
- `need_details` (boolean): Whether to include internal table details 
(optional, `true` for enabled, `false` for disabled, default is `false`).  
- `page_offset` (int): Pagination offset (optional, default is 0).  
- `page_size` (int): Pagination size (optional, default is 10).  
- `is_fuzzy` (boolean): Whether to enable fuzzy matching for table names 
(optional, `true` for enabled, `false` for disabled, default is `false`).

> Add an internal table OpenAPI to support viewing details of a specified 
> internal table
> --------------------------------------------------------------------------------------
>
>                 Key: KYLIN-6031
>                 URL: https://issues.apache.org/jira/browse/KYLIN-6031
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Priority: Major
>
> OpenAPI supports viewing internal table details, such as column names, field 
> types, partition columns, and other information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to