2010YOUY01 commented on PR #17815:
URL: https://github.com/apache/datafusion/pull/17815#issuecomment-3345800466

   Thank you for the fix. I have a question:
   
   The original error message (in the issue) is: `Arrow error: Invalid argument 
error: Invalid comparison operation: Decimal128(35, 2) > Decimal128(25, 2)`
   This operation seems valid
   ```
   > CREATE TABLE orders (
       d1 decimal(25,2),
       d2 decimal(35,2));
   0 row(s) fetched.
   Elapsed 0.008 seconds.
   
   > select d1 > d2 from orders;
   +-----------------------+
   | orders.d1 > orders.d2 |
   +-----------------------+
   +-----------------------+
   0 row(s) fetched.
   Elapsed 0.008 seconds.
   ```
   
   Is it possible to make this comparison work, and keep the precision increase 
behavior required by Spark? It looks simpler.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to