This is an automated email from the ASF dual-hosted git repository.

taiyangli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new ccf66a345 fix var shadow (#6885)
ccf66a345 is described below

commit ccf66a345dc096a84959c7a44086d0151be30d8d
Author: 李扬 <[email protected]>
AuthorDate: Fri Aug 16 17:43:37 2024 +0800

    fix var shadow (#6885)
---
 cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp 
b/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp
index 2191112cf..f123b7c74 100644
--- a/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp
+++ b/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp
@@ -142,7 +142,7 @@ DB::Chunk SourceFromJavaIter::generate()
     }
     else
     {
-        DB::Chunk result = BlockUtil::buildRowCountChunk(input_block->rows());
+        result = BlockUtil::buildRowCountChunk(input_block->rows());
         auto info = std::make_shared<DB::AggregatedChunkInfo>();
         result.getChunkInfos().add(std::move(info));
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to