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

解析结果partitioning 均为SQLPartitionByList对象 无法区分 LIST LIST COLUMNS分区类型 #6163

Open
zhanghuancode opened this issue Oct 12, 2024 · 0 comments

Comments

@zhanghuancode
Copy link

dbtype: OceanBase
dbversion: V4.22
druid verion: 1.2.23
jdk verion: 1.8
error sql:
CREATE TABLE t2_m_lh (col1 INT NOT NULL,col2 varchar(50),col3 INT NOT NULL)
PARTITION BY LIST (col1)
SUBPARTITION BY HASH(col3) SUBPARTITIONS 3
(PARTITION p0 VALUES IN(100),
PARTITION p1 VALUES IN(200),
PARTITION p2 VALUES IN(300)
);
CREATE TABLE t2_m_lch(col1 INT,col2 INT)
PARTITION BY LIST COLUMNS(col1)
SUBPARTITION BY HASH(col2) SUBPARTITIONS 5
(PARTITION p0 VALUES IN(100),
PARTITION p1 VALUES IN(200),
PARTITION p2 VALUES IN(300)
);

testcase code:
stacktrace info:
error info: 解析结果partitioning 均为SQLPartitionByList对象 无法区分 LIST LIST COLUMNS分区类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant