提交 5c6316af 编写于 作者: A alesapin

Fix bug

上级 4c1ac831
......@@ -42,7 +42,7 @@ NameSet injectRequiredColumns(const MergeTreeData & storage, const MergeTreeData
for (const auto & identifier : identifiers)
{
if (storage_columns.has(identifier))
if (storage_columns.hasPhysical(identifier))
{
/// ensure each column is added only once
if (required_columns.count(identifier) == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册