You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/06/07 07:35:14 UTC

[GitHub] [arrow] jorisvandenbossche commented on issue #35925: [C++] ArrowInvalid: Failed to parse string: '2acv' as a scalar of type double

jorisvandenbossche commented on issue #35925:
URL: https://github.com/apache/arrow/issues/35925#issuecomment-1580107037

   The explanation for `allow_invalid_utf8` in the docstring (*"Whether producing invalid utf8 data is allowed when casting."*) could be more explicit about that this keyword is only meant for casting _to_ string: i.e. when casting binary data to string, should the bytes be validated to ensure it is valid UTF-8. 
   
   I assume what you are looking for is an option for allowing unparsable strings to be converted to null while casting strings to numeric? 
   Such an option doesn't exist at the moment, but we have had previous feature requests about this as well, eg https://github.com/apache/arrow/issues/20486 and https://github.com/apache/arrow/issues/34976
   


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