Braedon-Wooding-Displayr commented on issue #24042:
URL: https://github.com/apache/datafusion/issues/24042#issuecomment-5150260413
This is a bit of a crazy edgecase but it is meaningful in lots of cases
where you are generating these expressions such as with banded crosstabs...
```sql
SELECT CASE WHEN age < $p1 THEN 'under 25'
WHEN age < $p2 THEN '25-44'
ELSE '45+' END AS band,
COUNT(*) AS n
FROM t1 GROUP BY CASE WHEN age < $p1 …
```
And this is where you get the issue more.
--
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]