```sql
select 1 from numbers(10) intersect select 1 from numbers(10)

SELECT 1
FROM numbers(10)
INTERSECT
SELECT 1
FROM numbers(10)

Query id: 9f2d11c5-269c-41dc-9b4c-8f1423aafcc7

┌─1─┐
│ 1 │
│ 1 │
│ 1 │
│ 1 │
│ 1 │
│ 1 │
│ 1 │
│ 1 │
└───┘

8 rows in set. Elapsed: 0.002 sec. 
```
cached_values = lcd_cache->get(dictionary_key);
        }
        if (cached_values)
        {
            saved_hash = cached_values->saved_hash;
            dictionary_holder = cached_values->dictionary_holder;
        }
        else
        {
            saved_hash = column->getDictionary().tryGetSavedHash();
            dictionary_holder = column->getDictionaryPtr();
            if constexpr (use_cache)
            {
                if (is_shared_dict)
                {
                    cached_values = std::make_shared<typename LowCardinalityDictionaryCache::CachedValues>();
                    cached_values->saved_hash = saved_hash;
                    cached_values->dictionary_holder = dictionary_holder;
                    lcd_cache->set(dictionary_key, cached_values);
                }
            }
        }
        if constexpr (has_mapped)
            mapped_cache.resize(key_columns[0]->size());
        VisitValue empty(VisitValue::Empty);
        visit_cache.assign(key_columns[0]->size(), empty);
        size_of_index_type = column->getSizeOfIndexType();
        positions = column->getIndexesPtr().get();
    }
    ALWAYS_INLINE size_t getIndexAt(size_t row) const