doris icon indicating copy to clipboard operation
doris copied to clipboard

[Fix](Cooldown) fixed table creation failure caused by abnormal coold…

Open felixwluo opened this issue 11 months ago • 6 comments

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

felixwluo avatar Mar 20 '24 12:03 felixwluo

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.

doris-robot avatar Mar 20 '24 12:03 doris-robot

run buildall

felixwluo avatar Mar 20 '24 12:03 felixwluo

Could you please also note this behavior change on the Documentation?

ByteYue avatar Mar 20 '24 13:03 ByteYue

And please also add one FE UT to test this.

ByteYue avatar Mar 20 '24 13:03 ByteYue

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

felixwluo avatar Mar 21 '24 06:03 felixwluo

run buildall

felixwluo avatar Mar 21 '24 13:03 felixwluo