```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
```
{
        RestoreTasks restore_part_tasks;
        Strings part_names = backup->listFiles(data_path_in_backup);
        for (const String & part_name : part_names)
        {
            const auto part_info = MergeTreePartInfo::tryParsePartName(part_name, storage->format_version);
            if (!part_info)
                continue;
            if (!partition_ids.empty() && !partition_ids.contains(part_info->partition_id))
                continue;
            restore_part_tasks.push_back(
                std::make_unique<RestorePartTask>(storage, backup, data_path_in_backup, part_name, *part_info, increment));
        }
        return restore_part_tasks;
    }
private:
    std::shared_ptr<MergeTreeData> storage;
    BackupPtr backup;
    String data_path_in_backup;
    std::unordered_set<String> partition_ids;
    SimpleIncrement * increment;
    class RestorePartTask : public IRestoreTask