mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Fix build
This commit is contained in:
parent
3e012265d3
commit
4984fdc693
@ -260,9 +260,9 @@ MergeTreeReadTaskColumns getReadTaskColumns(
|
|||||||
if (prewhere_info)
|
if (prewhere_info)
|
||||||
{
|
{
|
||||||
if (prewhere_info->alias_actions)
|
if (prewhere_info->alias_actions)
|
||||||
pre_column_names = prewhere_info->alias_actions->getRequiredColumns().getNames();
|
pre_column_names = prewhere_info->alias_actions->getRequiredColumns();
|
||||||
else
|
else
|
||||||
pre_column_names = prewhere_info->prewhere_actions->getRequiredColumns().getNames();
|
pre_column_names = prewhere_info->prewhere_actions->getRequiredColumns();
|
||||||
|
|
||||||
if (pre_column_names.empty())
|
if (pre_column_names.empty())
|
||||||
pre_column_names.push_back(column_names[0]);
|
pre_column_names.push_back(column_names[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user