[ https://issues.apache.org/jira/browse/KYLIN-5987 ]


    Guoliang Sun deleted comment on KYLIN-5987:
    -------------------------------------

was (Author: JIRAUSER298470):
*Dev Design*
Add validation logic for the partition column when {{date_partition_format}} is 
not empty during the parameter check phase.

*Details:*
 * *Scenario:* If {{date_partition_format}} is provided (not empty), the 
partition column must be validated.

 * *Action:* Implement checks to ensure the partition column is valid and 
matches the expected format.

 * *Outcome:* Requests failing the validation should be rejected with an 
appropriate error message.

> Support for floor_datetime and ceil_datetime
> --------------------------------------------
>
>                 Key: KYLIN-5987
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5987
>             Project: Kylin
>          Issue Type: New Feature
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Priority: Major
>
> *[Internal Table Interface]* When creating an internal table, the partition 
> column and the time partition format were not cross-validated (this issue 
> also exists in the update internal table attributes interface).
> *Example:*
>  * No partition column was provided, only the time partition format was 
> passed, yet the request succeeded.
>  * *Expected Behavior:* Validation should be performed, and the request 
> should fail.
> !image-2025-02-13-15-56-36-573.png|width=580,height=350!
> *[Internal Table Interface]* When creating an internal table, a non-time 
> partition column and a time partition format were provided, yet the request 
> succeeded.
> *Expected Behavior:* Validation should be performed, and the request should 
> fail.
> !image-2025-02-13-15-57-43-195.png|width=556,height=388!



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

Reply via email to