haohuaijin opened a new issue, #18683: URL: https://github.com/apache/datafusion/issues/18683
### Describe the bug Schema error: No field named t.b. Valid fields are t.a. ### To Reproduce ``` DataFusion CLI v50.3.0 > create table t(a int, b int) as values (1,3), (3,4), (4,5); 0 row(s) fetched. Elapsed 0.017 seconds. > select a from t group by a order by min(b); type_coercion caused by Schema error: No field named t.b. Valid fields are t.a. ``` ### Expected behavior query can get result ### Additional context check with duckdb and postgres, it can get result also check some previous version of datafusion, all not work -- 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]
