Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jul 26, 2024
1 parent 1e805ec commit 9341e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/core/jni/JniWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,11 @@ Java_org_apache_gluten_vectorized_NativeColumnarToRowJniWrapper_nativeColumnarTo
auto& conf = ctx->getConfMap();
int64_t column2RowMemThreshold;
auto it = conf.find(kColumnToRowMemoryThreshold);
bool confIsLeagal =
bool confIsLegal =
((it == conf.end()) ? false : std::all_of(it->second.begin(), it->second.end(), [](unsigned char c) {
return std::isdigit(c);
}));
if (confIsLeagal) {
if (confIsLegal) {
column2RowMemThreshold = std::stoll(it->second);
} else {
LOG(INFO)
Expand Down

0 comments on commit 9341e31

Please sign in to comment.