Skip to content

Commit

Permalink
change as request
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyang-li committed Nov 22, 2023
1 parent 7823212 commit b5ba985
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp-ch/local-engine/Shuffle/CachedShuffleWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ void CachedShuffleWriter::initOutputIfNeeded(Block & block)
{
if (!output_header)
{
output_header = block.cloneEmpty();
if (output_columns_indicies.empty())
{
/// TODO 这里逻辑有问题?output_header被赋值了两遍
output_header = block.cloneEmpty();
for (size_t i = 0; i < block.columns(); ++i)
{
Expand Down

0 comments on commit b5ba985

Please sign in to comment.