```sql

create table A ( A date) Engine=MergeTree order by A TTL A+interval 1 year;

alter table A reset SETTING TTL;

show create table A;

CREATE TABLE default.A
(
    `A` Date
)
ENGINE = MergeTree
ORDER BY A
TTL A + toIntervalYear(1)
SETTINGS index_granularity = 8192
```
{
    public:
        RestorePartTask(
            const std::shared_ptr<MergeTreeData> & storage_,
            const BackupPtr & backup_,
            const String & data_path_in_backup_,
            const String & part_name_,
            const MergeTreePartInfo & part_info_,
            SimpleIncrement * increment_)
            : storage(storage_)
            , backup(backup_)
            , data_path_in_backup(data_path_in_backup_)
            , part_name(part_name_)
            , part_info(part_info_)
            , increment(increment_)
        {
        }
        RestoreTasks run() override
        {
            UInt64 total_size_of_part = 0;
            Strings filenames = backup->listFiles(data_path_in_backup + part_name + "/", "");
            for (const String & filename : filenames)
                total_size_of_part += backup->getFileSize(data_path_in_backup + part_name + "/" + filename);
            std::shared_ptr<IReservation> reservation = storage->getStoragePolicy()->reserveAndCheck(total_size_of_part);
            auto disk = reservation->getDisk();