2024-06-27 10:00:57 WARN c.o.o.s.f.t.DatabaseChangeThread - Error occurs when executing sql: ALTER TABLE auditlog_bak PARTITION BY RANGE ( clock)
(
PARTITION p2024_06_04 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-05 00:00:00")),
PARTITION p2024_06_05 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-06 00:00:00")),
PARTITION p2024_06_06 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-07 00:00:00")),
PARTITION p2024_06_07 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-08 00:00:00")),
PARTITION p2024_06_08 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-09 00:00:00")),
PARTITION p2024_06_09 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-10 00:00:00")),
PARTITION p2024_06_10 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-11 00:00:00")),
PARTITION p2024_06_11 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-12 00:00:00")),
PARTITION p2024_06_12 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-13 00:00:00")),
PARTITION p2024_06_13 VALUES LESS THAN (UNIX_TIMESTAMP("2024-06-14 00:00:00"))
)
, error message: ErrorCode = 0, SQLState = 08000, Details = unexpected end of stream, read 0 bytes from 4
这个语句有问题吗?OceanBase数据库增加分区 还是创建 分区 ?
alter table t1 add partition (partition p3 VALUES LESS THAN (UNIX_TIMESTAMP('2018-01-01 00:00:00'))); 高仿下这个 ,此回答整理自钉群“[社区]技术答疑群OceanBase”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。