Omega359 commented on issue #13779:
URL: https://github.com/apache/datafusion/issues/13779#issuecomment-2562900593
This looks to have been fixed with #13885
```sql
DataFusion CLI v44.0.0
> SELECT ALL + + MIN ( - CAST ( + 6 AS INTEGER ) ) * CASE WHEN NULL BETWEEN
- 88 AND ( - - 91 ) * - AVG ( 95 ) THEN COUNT ( - 34 ) END;
+--------------------------------------------------------------------------------------------------------------------------+
| min((- Int64(6))) * CASE WHEN NULL BETWEEN Int64(-88) AND (- Int64(-91)) *
(- avg(Int64(95))) THEN count(Int64(-34)) END |
+--------------------------------------------------------------------------------------------------------------------------+
|
|
+--------------------------------------------------------------------------------------------------------------------------+
1 row(s) fetched.
Elapsed 0.014 seconds.
> SELECT ALL + CASE WHEN AVG ( ALL + 88 ) >= 74 + + - 95 - CASE 23 WHEN 41 +
- COUNT ( 16 ) THEN + 48 - 12 * + 70 - - ( - 95 ) * + 50 + 37 + + + COALESCE (
- 68, - - ( ( + 66 ) ) / + 28 ) END - + - 38 THEN + AVG ( 19 ) END - + 69;
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| CASE WHEN avg(Int64(88)) >= Int64(74) + Int64(-95) - CASE Int64(23) WHEN
Int64(41) + (- count(Int64(16))) THEN Int64(48) - Int64(12) * Int64(70) - (-
Int64(-95)) * Int64(50) + Int64(37) + coalesce(Int64(-68),(- (- Int64(66))) /
Int64(28)) END - Int64(-38) THEN avg(Int64(19)) END - Int64(69) |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row(s) fetched.
```
--
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]