lidavidm commented on code in PR #41823:
URL: https://github.com/apache/arrow/pull/41823#discussion_r1665360549


##########
cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc:
##########
@@ -875,6 +895,10 @@ std::vector<std::shared_ptr<CastFunction>> 
GetNumericCasts() {
   auto cast_null = std::make_shared<CastFunction>("cast_null", Type::NA);
   DCHECK_OK(cast_null->AddKernel(Type::DICTIONARY, 
{InputType(Type::DICTIONARY)}, null(),
                                  OutputAllNull));
+  // Explicitly allow casting extension type with null backing array to null

Review Comment:
   Ah, I forgot to stage the Python tests, but Arrow C++ does allow that cast 
except in this case



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