jorisvandenbossche commented on PR #42098:
URL: https://github.com/apache/arrow/pull/42098#issuecomment-2160503543

   But, testing this for many types (with `from pyarrow.tests.test_types import 
get_many_types`), it seems we have quite some types that don't implement a 
kernel to cast to themselves. 
   
   In addition to `date64` and `date32`, this also gives an error (i.e. 
`CanCast` returns False) for `null`, `halffloat`, 
`string_view`/`binary_view`/`list_view`/`large_list_view` and 
`run_end_encoded`. 
   I suppose that for some of those we just don't yet have implemented any 
casts (like the new "view" types), but again a plain `Cast` will work for those 
types because we first check for type equality.


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