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

Guoliang Sun commented on KYLIN-5980:
-------------------------------------

h3. Dev Design

Clear api changes
 * old 
http://sandbox:7993/kylin/api/internal_tables/truncate_internal_table?project=\{project}&table=\{database}.\{table}

 * new 
http://sandbox:7993/kylin/api/internal_tables/truncate_internal_table?project=\{project}&database=\{databasename}&table=\{tablename}

Delete partition api changes
 * old 
http://sandbox:7993/kylin/api/internal_tables/partitions?project=test&table=SSB.DATES&partitions=1992-01-02,1992-01-03

 * new 
http://sandbox:7993/kylin/api/internal_tables/partitions?project=test&database=\{databasename}&table=\{tablename}&partitions=1992-01-02,1992-01-03

> The parameters table and database should be passed separately when using the 
> clear data interface
> -------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5980
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5980
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Assignee: Guoliang Sun
>            Priority: Major
>         Attachments: image-2024-12-12-00-40-57-175.png, 
> image-2024-12-12-00-42-00-174.png, image-2024-12-12-00-42-06-185.png
>
>
> The parameters table and database should be passed separately when using the 
> clear data interface.
> Needs to be consistent with other internal table interfaces, passed in 
> separately
> !image-2024-12-12-00-42-00-174.png!
> Example
> !image-2024-12-12-00-42-06-185.png!



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

Reply via email to