You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Guoliang Sun (Jira)" <ji...@apache.org> on 2025/02/13 08:03:00 UTC
[jira] [Commented] (KYLIN-5987) When creating an internal table, the partition column and the time partition format were not cross-validated.
[ https://issues.apache.org/jira/browse/KYLIN-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926703#comment-17926703 ]
Guoliang Sun commented on KYLIN-5987:
-------------------------------------
*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.
> When creating an internal table, the partition column and the time partition format were not cross-validated.
> -------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-5987
> URL: https://issues.apache.org/jira/browse/KYLIN-5987
> Project: Kylin
> Issue Type: Bug
> Reporter: Guoliang Sun
> Priority: Major
> Attachments: image-2025-02-13-15-56-36-573.png, image-2025-02-13-15-57-43-195.png
>
>
> *[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)