mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix test_alias_column
This commit is contained in:
parent
77f60311da
commit
ba6b7b1610
@ -6427,9 +6427,9 @@ std::optional<ProjectionCandidate> MergeTreeData::getQueryProcessingStageWithAgg
|
|||||||
|
|
||||||
// Projections don't support grouping sets yet.
|
// Projections don't support grouping sets yet.
|
||||||
if (original_select_query->group_by_with_grouping_sets
|
if (original_select_query->group_by_with_grouping_sets
|
||||||
|| select_query->group_by_with_totals
|
|| original_select_query->group_by_with_totals
|
||||||
|| select_query->group_by_with_rollup
|
|| original_select_query->group_by_with_rollup
|
||||||
|| select_query->group_by_with_cube)
|
|| original_select_query->group_by_with_cube)
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
|
||||||
auto query_options = SelectQueryOptions(
|
auto query_options = SelectQueryOptions(
|
||||||
@ -6439,7 +6439,7 @@ std::optional<ProjectionCandidate> MergeTreeData::getQueryProcessingStageWithAgg
|
|||||||
).ignoreProjections().ignoreAlias();
|
).ignoreProjections().ignoreAlias();
|
||||||
|
|
||||||
InterpreterSelectQuery select(
|
InterpreterSelectQuery select(
|
||||||
query_ptr,
|
original_query_ptr,
|
||||||
query_context,
|
query_context,
|
||||||
query_options,
|
query_options,
|
||||||
query_info.prepared_sets);
|
query_info.prepared_sets);
|
||||||
|
Loading…
Reference in New Issue
Block a user