You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/30 22:32:39 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #2986: Decimal Casts are Unchecked

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

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   Most numeric casts, e.g. Int16 - Int8, are checked and will return an error (or null) on overflow. By contrast the decimal conversions are not. In particular:
   
   * decimal to decimal conversion
   * float to decimal conversion
   * decimal to integer
   * integer to decimal
   
   **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.
   -->
   
   I believe @viirya intends to work on this, but wanted to create a ticket so it didn't get lost


-- 
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] viirya closed issue #2986: Decimal Casts are Unchecked

Posted by GitBox <gi...@apache.org>.
viirya closed issue #2986: Decimal Casts are Unchecked
URL: https://github.com/apache/arrow-rs/issues/2986


-- 
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 #2986: Decimal Casts are Unchecked

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2986:
URL: https://github.com/apache/arrow-rs/issues/2986#issuecomment-1328190875

   Not sure if this should be reopened or a new issue created, but https://github.com/apache/arrow-rs/pull/3203 would suggest that truncation is not properly checked yet


-- 
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] alamb commented on issue #2986: Decimal Casts are Unchecked

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #2986:
URL: https://github.com/apache/arrow-rs/issues/2986#issuecomment-1327307315

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


-- 
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] viirya commented on issue #2986: Decimal Casts are Unchecked

Posted by GitBox <gi...@apache.org>.
viirya commented on issue #2986:
URL: https://github.com/apache/arrow-rs/issues/2986#issuecomment-1296368242

   Yea, thanks @tustvold 


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