Panic in simplify_expressions
optimizer rules when running an aggregate query (SQLancer)
#12814
Labels
bug
Something isn't working
Describe the bug
See the reproducer in datafusion-cli (compiled from the latest main, commit 84c9409)
To Reproduce
No response
Expected behavior
The query is invalid, given aggregate function is not allowed in where clause, so it should return a planning error, instead of panics
Additional context
Found by SQLancer #11030
The text was updated successfully, but these errors were encountered: