**Describe what's wrong**

Get data from #29693.

```
ALTER TABLE hackernews
    ADD COLUMN words Array(LowCardinality(String))
    DEFAULT arraySort(
              arrayDistinct(
                extractAll(
                  lower(
                    decodeXMLComponent(
                      extractTextFromHTML(text))),
                  '\w+')));

ALTER TABLE hackernews MATERIALIZE COLUMN words;

ALTER TABLE hackernews ADD INDEX words_bf (words) TYPE bloom_filter(0.01) GRANULARITY 1;

ALTER TABLE hackernews MATERIALIZE INDEX words_bf;

SELECT * FROM system.merges \G;

...

SELECT count() FROM hackernews WHERE has(words, 'clickhouse');

Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Got empty stream for SerializationLowCardinality keys.: (while reading column words): (while reading from part /var/lib/clickhouse/store/f43/f4347434-b836-44ba-b434-7434b836f4ba/all_1_2874_5_2884/ from mark 46 with max_rows_to_read = 8192): While executing MergeTreeThread. (LOGICAL_ERROR)
```


**Does it reproduce on recent release?**

master.
actions_chain.addStep();
            for (const auto & kv : stage.column_to_updated)
                stage.analyzer->appendExpression(actions_chain, kv.second, dry_run);
            auto & actions = actions_chain.getLastStep().actions();
            for (const auto & kv : stage.column_to_updated)
            {
                auto column_name = kv.second->getColumnName();
                const auto & dag_node = actions->findInIndex(column_name);
                const auto & alias = actions->addAlias(dag_node, kv.first);
                actions->addOrReplaceInIndex(alias);
            }
        }
        
        actions_chain.addStep();
        actions_chain.getLastStep().required_output.clear();
        ActionsDAG::NodeRawConstPtrs new_index;
        for (const auto & name : stage.output_columns)
            actions_chain.getLastStep().addRequiredOutput(name);
        actions_chain.getLastActions();
        actions_chain.finalize();
        
        for (const auto & column : actions_chain.steps.front()->getRequiredColumns())
            prepared_stages[i - 1].output_columns.insert(column.name);
    }
    
    auto select = std::make_shared<ASTSelectQuery>();
    select->setExpression(ASTSelectQuery::Expression::SELECT, std::make_shared<ASTExpressionList>());
    for (const auto & column_name : prepared_stages[0].output_columns)
        select->select()->children.push_back(std::make_shared<ASTIdentifier>(column_name));