From 726fd7bc9cde72a873c01c0ff4ca3ab8770778f3 Mon Sep 17 00:00:00 2001 From: summaryzb Date: Mon, 15 Jan 2024 17:14:00 +0800 Subject: [PATCH] resolve conflix with #4099 --- cpp/core/jni/JniWrapper.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpp/core/jni/JniWrapper.cc b/cpp/core/jni/JniWrapper.cc index 3aca0da9e5e1c..923933e813dbd 100644 --- a/cpp/core/jni/JniWrapper.cc +++ b/cpp/core/jni/JniWrapper.cc @@ -889,14 +889,10 @@ JNIEXPORT jlong JNICALL Java_io_glutenproject_vectorized_ShuffleWriterJniWrapper memoryManager->getArrowMemoryPool(), std::move(celebornClient)); } else if (partitionWriterType == "uniffle") { - shuffleWriterOptions.partition_writer_type = PartitionWriterType::kUniffle; jclass unifflePartitionPusherClass = createGlobalClassReferenceOrError(env, "Lorg/apache/spark/shuffle/writer/PartitionPusher;"); jmethodID unifflePushPartitionDataMethod = getMethodIdOrError(env, unifflePartitionPusherClass, "pushPartitionData", "(I[B)I"); - if (pushBufferMaxSize > 0) { - shuffleWriterOptions.push_buffer_max_size = pushBufferMaxSize; - } JavaVM* vm; if (env->GetJavaVM(&vm) != JNI_OK) { throw gluten::GlutenException("Unable to get JavaVM instance");