You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/06/09 12:13:39 UTC
[GitHub] [incubator-doris] harveyyue edited a comment on pull request #5996: [Bug] Create dynamic partition table failed with enable create_history_partition and not specify the start value
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org