You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "danepitkin (via GitHub)" <gi...@apache.org> on 2023/05/01 21:29:48 UTC

[GitHub] [arrow] danepitkin commented on issue #35040: [C++] Change Scalar::CastTo to do safe cast by default and allow to specify cast options ?

danepitkin commented on issue #35040:
URL: https://github.com/apache/arrow/issues/35040#issuecomment-1530321370

   FYI I tried swapping the Scalar.cast() implementation to the compute kernel and current (but small) test suite passed while also fixing https://github.com/apache/arrow/issues/35370.
   
   ```
   ...
       def cast(self, object target_type=None, safe=None, options=None, memory_pool=None):
           return _pc().cast(self, target_type, safe=safe,
                             options=options, memory_pool=memory_pool)
   ...
   ```


-- 
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-unsubscribe@arrow.apache.org

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