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

OceanBase创建模板化二级分区表,SQL解析异常, 创建非模板化二级分区表 二级分区 List Range SQL解析异常 #6160

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

Comments

@zhanghuancode
Copy link

dbtype: OceanBase
dbversion: V4.2.2
druid verion: 1.2.23
jdk verion: 1.8
error sql: CREATE TABLE t2_m_lr(col1 INT,col2 INT)
PARTITION BY LIST (col1)
SUBPARTITION BY RANGE(col2)
SUBPARTITION TEMPLATE
(SUBPARTITION mp0 VALUES LESS THAN(100),
SUBPARTITION mp1 VALUES LESS THAN(200),
SUBPARTITION mp2 VALUES LESS THAN(300)
)
(PARTITION p0 VALUES IN(1,3),
PARTITION p1 VALUES IN(4,6),
PARTITION p2 VALUES IN(7,9)
);

testcase code:
stacktrace info:
error info :SQL存在语法错误:syntax error, expect OPTIONS, actual IDENTIFIER, pos 136, line 4, column 21, token IDENTIFIER TEMPLATE

OceanBase创建模板化二级分区表,SQL解析异常, 创建非模板化二级分区表 二级分区 List Range SQL解析异常

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