frankhui521 opened a new issue, #48862:
URL: https://github.com/apache/doris/issues/48862

   在使用DISTRIBUTED BY HASH(time) BUCKETS 100时创建表正常,但是使用AUTO时报错,这是为啥?
       ->     error_message TEXT DEFAULT '',
       ->     error_type TEXT DEFAULT '',
       ->     log_offset BIGINT DEFAULT 0,
       ->     log TEXT DEFAULT ''
       -> )
       -> DUPLICATE KEY(time)
       -> PARTITION BY RANGE(time)()
       -> DISTRIBUTED BY HASH(time) BUCKETS AUTO
       -> PROPERTIES (
       ->     "replication_num" = "1",
       ->     "storage_format" = "V2",
       ->     "disable_auto_compaction" = "false",
       ->     "dynamic_partition.enable" = "true",
       ->     "dynamic_partition.time_unit" = "DAY",
       ->     "dynamic_partition.start" = "-6",
       ->     "dynamic_partition.end" = "1",
       ->     "dynamic_partition.prefix" = "p",
       ->     "storage_policy" = "oss_policy"
       -> );
   ERROR 1105 (HY000): errCode = 2, detailMessage = Syntax error in line 25:
       log_offset BIGINT DEFAULT 0,
                                 ^
   Encountered: INTEGER LITERAL
   Expected


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to