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/04/14 02:20:25 UTC

[GitHub] [arrow-datafusion] liukun4515 opened a new issue, #2232: Error precision and scale for decimal coercion in logic comparison

liukun4515 opened a new issue, #2232:
URL: https://github.com/apache/arrow-datafusion/issues/2232

   Is it worth checking somewhere what happens with different decimal scales?
   
   Something like
   ```sql 
   select * from decimal_simple where c1 >= CAST(0.00002 as Decimal(10,8))
   ```
   
   I am not sure if the coercion to an appropriate decimal type is covered elsewhere
   
   _Originally posted by @alamb in https://github.com/apache/arrow-datafusion/pull/2200#discussion_r849775586_


-- 
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-datafusion] liukun4515 commented on issue #2232: Error precision and scale for decimal coercion in logic comparison

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2232:
URL: https://github.com/apache/arrow-datafusion/issues/2232#issuecomment-1098645402

   This is caused by`comparison_binary_numeric_coercion` in the `binary_rule.rs`


-- 
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-datafusion] liukun4515 commented on issue #2232: Error precision and scale for decimal coercion in logic comparison

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2232:
URL: https://github.com/apache/arrow-datafusion/issues/2232#issuecomment-1098682316

   It will fixed in the next pr


-- 
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-datafusion] liukun4515 commented on issue #2232: Error precision and scale for decimal coercion in logic comparison

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #2232:
URL: https://github.com/apache/arrow-datafusion/issues/2232#issuecomment-1099868338

   https://github.com/apache/arrow-datafusion/pull/1483


-- 
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-datafusion] alamb closed issue #2232: Error precision and scale for decimal coercion in logic comparison

Posted by GitBox <gi...@apache.org>.
alamb closed issue #2232: Error precision and scale for decimal coercion in logic comparison
URL: https://github.com/apache/arrow-datafusion/issues/2232


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