harveyyue edited a comment on pull request #5996:
URL: https://github.com/apache/incubator-doris/pull/5996#issuecomment-857636516


   > Hi @harveyyue Thank for your PR.
   > But I think if neither `start` nor `history_partition_num` is set, we 
should not create any history partition.
   > the there should be no default value for `history_partition_num`.
   
   when enable the property "dynamic_partition.create_history_partition" and 
not set property "dynamic_partition.start"
   will getting following date format error, create table failed. because the 
default value of start is Integer.MIN_VALUE(-2147483648)
   
   one more thing, i want to keep 100 partitions with set 
dynamic_partition.start=-100, and want to create 20 old partitions rather than 
getting 100 old partitions.
   
   2021-06-08 12:19:21,255 WARN (doris-mysql-nio-pool-0|147) 
[DynamicPartitionScheduler.getAddPartitionClause():169] Error in gen 
addPartitionKeyRange. Error=errCode = 2, detailMessage = date literal 
[+178951742-12-01] is invalid, db: default_cluster:poc, table: dwd_tf_order2


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to