harveyyue commented 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 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
