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

   ### Describe the bug
   
   A decimal conversion query is not consistent with PG or Spark
   
   ### To Reproduce
   
   ```
   ❯ select cast(1.1 as decimal(2, 2)) + 1;
   +-------------------------+
   | Float64(1.1) + Int64(1) |
   +-------------------------+
   | 2.10                    |
   +-------------------------+
   1 row in set. Query took 0.002 seconds.
   ```
   
   in spark/PG it return null(Spark), fail(PG)
   
   ### Expected behavior
   
   Should be consistent
   
   ### Additional context
   
   _No response_


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

Reply via email to