NickCrews opened a new pull request, #43782:
URL: https://github.com/apache/arrow/pull/43782

   * GitHub Issue: #33592
   
   Notes for myself/fixer:
   - [tests that need to get 
updated](https://github.com/search?q=repo%3Aapache%2Farrow%20%22cannot%20cast%20nullable%20field%22&type=code)
 (almost definitely not a complete list)
   - [update: actually we should handle the go implementation in the go 
repository.] hmm, looks like [go wrapper does its own nullability 
checks](https://github.com/apache/arrow/blob/f078942ce2df68de8f48c3b4233132133601ca53/go/arrow/compute/cast.go#L283-L286).
 I assume this is just an optimization to not have to go into the C++ and hit 
the error down there. So if we just delete this check then I think the C++ 
logic will handle all of it???
   - [how the plain column handles this 
cast](https://github.com/apache/arrow/blob/f078942ce2df68de8f48c3b4233132133601ca53/python/pyarrow/table.pxi#L3238-L3243),
 some logic like this probably needs to get ported over to the struct 
implementation
   - (running from /cpp/build) `cmake .. --preset ninja-debug-basic`, then ` 
cmake --build .`, then `ctest -j16 --output-on-failure` to run all tests, or 
`ctest -R 'arrow-compute-scalar-cast-test'` to run the specific one
   - 


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to