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

liuneng 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 e472e5dac [CH] Hotfix a configuration bug in shuffle writer
e472e5dac is described below

commit e472e5dac31343caf167f74c9e95f89c146fd049
Author: LiuNeng <[email protected]>
AuthorDate: Thu Aug 1 20:51:45 2024 +0800

    [CH] Hotfix a configuration bug in shuffle writer
    
    liuneng1994 commented 2 hours ago
    What changes were proposed in this pull request?
    Hotfix a configuration bug in shuffle writer
    
    How was this patch tested?
    unit tests
    
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
---
 cpp-ch/local-engine/Shuffle/PartitionWriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp-ch/local-engine/Shuffle/PartitionWriter.cpp 
b/cpp-ch/local-engine/Shuffle/PartitionWriter.cpp
index a2ef0888a..58be56421 100644
--- a/cpp-ch/local-engine/Shuffle/PartitionWriter.cpp
+++ b/cpp-ch/local-engine/Shuffle/PartitionWriter.cpp
@@ -324,7 +324,7 @@ PartitionWriter::PartitionWriter(CachedShuffleWriter * 
shuffle_writer_, LoggerPt
         partition_block_buffer[partition_id] = 
std::make_shared<ColumnsBuffer>(options->split_size);
         partition_buffer[partition_id] = std::make_shared<Partition>();
     }
-    settings.loadFromContext(SerializedPlanParser::global_context);
+    settings = 
MemoryConfig::loadFromContext(SerializedPlanParser::global_context);
 }
 
 size_t PartitionWriter::bytes() const


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

Reply via email to