diff --git a/cpp/core/jni/JniWrapper.cc b/cpp/core/jni/JniWrapper.cc index 9669172deefa..794ca6b88f48 100644 --- a/cpp/core/jni/JniWrapper.cc +++ b/cpp/core/jni/JniWrapper.cc @@ -824,7 +824,7 @@ JNIEXPORT jlong JNICALL Java_org_apache_gluten_vectorized_ShuffleWriterJniWrappe partitionWriterOptions.codecBackend = getCodecBackend(env, codecBackendJstr); partitionWriterOptions.compressionMode = getCompressionMode(env, compressionModeJstr); } - const auto & conf = ctx->getConfMap(); + const auto& conf = ctx->getConfMap(); { auto it = conf.find(kShuffleFileBufferSize); if (it != conf.end()) { diff --git a/cpp/core/shuffle/Utils.cc b/cpp/core/shuffle/Utils.cc index 26164ddc9ff3..03a6f512cf93 100644 --- a/cpp/core/shuffle/Utils.cc +++ b/cpp/core/shuffle/Utils.cc @@ -279,7 +279,7 @@ void MmapFileStream::willNeed(int64_t length) { if (ret != 0) { LOG(WARNING) << "madvise willneed failed: " << ::arrow::internal::ErrnoMessage(errno); } - + posFetch_ += fetchLen; }