jonahgao commented on code in PR #12546: URL: https://github.com/apache/datafusion/pull/12546#discussion_r1768388191
########## datafusion/sqllogictest/test_files/select.slt: ########## @@ -1756,3 +1756,7 @@ SELECT "test.a" FROM (SELECT a AS "test.a" FROM test) statement ok DROP TABLE test; + +# Can't reference an unqualified column by a qualified name +query error DataFusion error: Schema error: No field named t1\.v1\. Valid fields are "t1\.v1"\. +SELECT t1.v1 FROM (SELECT 1 AS "t1.v1"); Review Comment: This query will not produce an error on main branch, which is incorrect. -- 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]
