diff --git a/cpp/core/jni/JniWrapper.cc b/cpp/core/jni/JniWrapper.cc index 3aca0da9e5e1c..d2b82947f253b 100644 --- a/cpp/core/jni/JniWrapper.cc +++ b/cpp/core/jni/JniWrapper.cc @@ -894,9 +894,6 @@ JNIEXPORT jlong JNICALL Java_io_glutenproject_vectorized_ShuffleWriterJniWrapper 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");