```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
```
if (restore_covered && part->info.level == 0)
    {
        LOG_WARNING(log, "Will not recover parts covered by zero-level part {}", part->name);
        return;
    }
    if (restore_covered)
    {
        Strings restored;
        bool error = false;
        String error_parts;
        Int64 pos = part->info.min_block;
        auto is_appropriate_state = [] (DataPartState state)
        {
            return state == DataPartState::Active || state == DataPartState::Outdated;
        };
        auto update_error = [&] (DataPartIteratorByInfo it)
        {
            error = true;
            error_parts += (*it)->getNameWithState() + " ";
        };
        auto it_middle = data_parts_by_info.lower_bound(part->info);
        
        if (it_middle != data_parts_by_info.begin())
        {
            auto it = std::prev(it_middle);
            if (part->contains(**it) && is_appropriate_state((*it)->getState()))
            {
                
                if ((*it)->info.min_block != part->info.min_block)
                    update_error(it);