```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
```
{
    auto policy = getStoragePolicy();
    if (move_ttl.destination_type == DataDestinationType::VOLUME)
    {
        auto volume = policy->tryGetVolumeByName(move_ttl.destination_name);
        if (!volume)
            return {};
        if (is_insert && !volume->perform_ttl_move_on_insert)
            return {};
        return volume;
    }
    else if (move_ttl.destination_type == DataDestinationType::DISK)
    {
        auto disk = policy->tryGetDiskByName(move_ttl.destination_name);
        if (!disk)
            return {};
        auto volume = policy->getVolume(policy->getVolumeIndexByDisk(disk));
        if (!volume)
            return {};
        if (is_insert && !volume->perform_ttl_move_on_insert)
            return {};
        return disk;
    }
    else
        return {};
}
bool MergeTreeData::isPartInTTLDestination(const TTLDescription & ttl, const IMergeTreeDataPart & part) const