Omega359 commented on issue #13782:
URL: https://github.com/apache/datafusion/issues/13782#issuecomment-2543175789

   Another example of what is probably the same cause:
   
   Datafusion
   ```sql
   >  SELECT ALL + + 84 * + - COUNT ( * ) * - - COALESCE ( + 37, + 14 ) * - 
NULLIF ( CASE + + COUNT ( * ) WHEN 54 THEN NULL ELSE + 91 + + - 60 * - 23 END, 
( + CAST ( + 96 AS REAL ) ) ) * + 14 col2;
   +------------+
   | col2       |
   +------------+
   | 64006150.0 |
   +------------+
   1 row(s) fetched. 
   ```
   
   duckdb and postgres:
   ```sql
   D SELECT ALL + + 84 * + - COUNT ( * ) * - - COALESCE ( + 37, + 14 ) * - 
NULLIF ( CASE + + COUNT ( * ) WHEN 54 THEN NULL ELSE + 91 + + - 60 * - 23 END, 
( + CAST ( + 96 AS REAL ) ) ) * + 14 col2;;
   ┌──────────┐
   │   col2   │
   │  int64   │
   ├──────────┤
   │ 64006152 │
   └──────────┘
   ```


-- 
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-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to