You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/03/09 15:56:32 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #3833: Timestamp Cast Conversions are Unchecked

tustvold opened a new issue, #3833:
URL: https://github.com/apache/arrow-rs/issues/3833

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   Currently some time conversions in arrow-cast do not check for potential overflow - https://github.com/apache/arrow-rs/blob/master/arrow-cast/src/cast.rs#L1685
   
   They should instead use unary_opt (if safe) or try_unary to return a null or error on overflow.
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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.apache.org

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


[GitHub] [arrow-rs] tustvold closed issue #3833: Timestamp Unit Casts are Unchecked

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #3833: Timestamp Unit Casts are Unchecked
URL: https://github.com/apache/arrow-rs/issues/3833


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


[GitHub] [arrow-rs] tustvold commented on issue #3833: Timestamp Unit Casts are Unchecked

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3833:
URL: https://github.com/apache/arrow-rs/issues/3833#issuecomment-1463940823

   `label_issue.py` automatically added labels {'arrow'} from #3840


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