mapleFU commented on code in PR #35527:
URL: https://github.com/apache/arrow/pull/35527#discussion_r1190064242
##########
cpp/src/gandiva/llvm_generator.cc:
##########
@@ -295,6 +295,8 @@ Status LLVMGenerator::CodeGenExprValue(DexPtr value_expr,
int buffer_count,
selection_vector_type = types()->i64_type();
break;
}
+ ARROW_RETURN_IF((selection_vector_type == nullptr),
+ Status::CodeGenError("Error creating
selection_vector_type."));
Review Comment:
The switch case doesn't has a uncatched value. So I've no idea that why it
reports compilation error. Maybe a stale compiler is used when building Windows
in CI ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]