2010YOUY01 opened a new issue, #17699:
URL: https://github.com/apache/datafusion/issues/17699

   ### Describe the bug
   
   `datafusion-cli` is compiled from the latest main commit 162942016
   
   ```sh
   DataFusion CLI v50.0.0
   > CREATE TABLE orders (
       o_orderkey INT,
       o_totalprice DECIMAL(15, 2)
   );
   
   INSERT INTO orders VALUES (1, 10.00);
   
   SELECT total_spent
   FROM (
       SELECT
           SUM(o_totalprice) AS total_spent,
           COUNT(DISTINCT o_orderkey) AS order_count
       FROM orders
   ) t
   WHERE total_spent > 0;
   
   Arrow error: Invalid argument error: Invalid comparison operation: 
Decimal128(35, 2) > Decimal128(25, 2)
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   Found by SQLStorm https://github.com/apache/datafusion/issues/17698


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