doris
doris copied to clipboard
[Fix](Cooldown) fixed table creation failure caused by abnormal coold…
Proposed changes
Issue Number: close #32366
When creating and modifying cold policies. It determines whether it is less than the current time, and if it is less than the current time, it throws an exception
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...
Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR
Since 2024-03-18, the Document has been moved to doris-website. See Doris Document.
run buildall
Could you please also note this behavior change on the Documentation?
And please also add one FE UT to test this.
We should not modify the value that user set. Should check the cooldown time is valid when create or alter storage policy. Must throw exception when create table if the cooldown time is not valid.
Ok. I'll modify it
run buildall