Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaRise committed Mar 7, 2022
1 parent d583a8a commit 7bd8152
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dbms/src/Flash/Coprocessor/DAGExpressionAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,9 @@ NamesWithAliases DAGExpressionAnalyzer::appendFinalProjectForNonRootQueryBlock(
ExpressionActionsChain & chain,
const String & column_prefix) const
{
const auto & current_columns = getCurrentInputColumns();
NamesWithAliases final_project;
UniqueNameGenerator unique_name_generator;
for (const auto & element : current_columns)
for (const auto & element : getCurrentInputColumns())
final_project.emplace_back(element.name, unique_name_generator.toUniqueName(column_prefix + element.name));

auto & step = initAndGetLastStep(chain);
Expand Down

0 comments on commit 7bd8152

Please sign in to comment.