alamb opened a new issue, #15359: URL: https://github.com/apache/datafusion/issues/15359
### Describe the bug example https://github.com/apache/datafusion/actions/runs/14005503215/job/39218865563 ``` External error: query is expected to fail with error: (regex) DataFusion error: Error during planning: Projection references non\-aggregate values: Expression cor0\.col1 could not be resolved from available columns: cor0\.col2 but got error: DataFusion error: Error during planning: Column in SELECT must be in GROUP BY or an aggregate function: While expanding wildcard, column "cor0.col1" must appear in the GROUP BY clause or must be part of an aggregate function, currently only "cor0.col2" appears in the SELECT clause satisfies this requirement [SQL] SELECT - COALESCE ( - 54, + cor0.col1 * + NULLIF ( + cor0.col1, cor0.col0 ), - cor0.col1 ) AS col0 FROM tab1 cor0 GROUP BY cor0.col2 at ../../datafusion-testing/data/sqlite/random/groupby/slt_good_7.slt:14159 ``` Happened first with this PR: - https://github.com/apache/datafusion/pull/15287 I think the expected messages just need updating ### To Reproduce _No response_ ### Expected behavior _No response_ ### 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: github-unsubscr...@datafusion.apache.org.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