From 3b85462d7b35c233a9ca1226509ac2e0550c9e3f Mon Sep 17 00:00:00 2001 From: Rong Ma Date: Fri, 10 Nov 2023 03:27:10 +0000 Subject: [PATCH] fix uncompressed not set --- cpp/core/jni/JniWrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/core/jni/JniWrapper.cc b/cpp/core/jni/JniWrapper.cc index e311da0d6177..230f8b42e3b1 100644 --- a/cpp/core/jni/JniWrapper.cc +++ b/cpp/core/jni/JniWrapper.cc @@ -785,8 +785,8 @@ JNIEXPORT jlong JNICALL Java_io_glutenproject_vectorized_ShuffleWriterJniWrapper shuffleWriterOptions.buffer_size = bufferSize; } + shuffleWriterOptions.compression_type = getCompressionType(env, codecJstr); if (codecJstr != NULL) { - shuffleWriterOptions.compression_type = getCompressionType(env, codecJstr); shuffleWriterOptions.codec_backend = getCodecBackend(env, codecBackendJstr); shuffleWriterOptions.compression_mode = getCompressionMode(env, compressionModeJstr); }