Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Table partition plan execution failed with to_date function #4004

Open
tonghan-gsh opened this issue Dec 11, 2024 · 1 comment
Open

Comments

@tonghan-gsh
Copy link
Collaborator

ODC version

ODC 4.3.2

OB version

No related

What happened?

The format of the pre-created SQL statements generated by the partitioning plan does not match.
图片

What did you expect to happen?

Remove Spaces

How can we reproduce it (as minimally and precisely as possible)?

CREATE TABLE test_range_date (
col1 DATE
)
PARTITION BY RANGE (col1)
(
PARTITION p_2023_01 VALUES LESS THAN (TO_DATE('2023-01-01', 'YYYY-MM-DD')),
PARTITION p_2023_02 VALUES LESS THAN (TO_DATE('2023-02-01', 'YYYY-MM-DD')),
PARTITION p_2023_03 VALUES LESS THAN (TO_DATE('2023-03-01', 'YYYY-MM-DD')),
PARTITION p_2023_04 VALUES LESS THAN (TO_DATE('2023-04-01', 'YYYY-MM-DD')),
PARTITION p_2023_05 VALUES LESS THAN (TO_DATE('2023-05-01', 'YYYY-MM-DD'))
);

Anything else we need to know?

No response

@guowl3
Copy link
Collaborator

guowl3 commented Dec 18, 2024

fix in the next version

@guowl3 guowl3 modified the milestones: ODC 4.3.3, ODC4.3.3-bp1 Dec 18, 2024
@Huangxiao-mas Huangxiao-mas modified the milestones: ODC4.3.3-bp1, ODC 4.3.4 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

3 participants