pitrou commented on code in PR #35527:
URL: https://github.com/apache/arrow/pull/35527#discussion_r1190067611


##########
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:
   Hmm, if that's the case, then just remove this line?



-- 
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]

Reply via email to