imback82 commented on issue #27532: [SPARK-30782][SQL] Column resolution doesn't respect current catalog/namespace for v2 tables. URL: https://github.com/apache/spark/pull/27532#issuecomment-584779123 I tried postgres and mysql, and they allow this syntax. postgres: ``` postgres=# create schema s1; CREATE SCHEMA postgres=# create table s1.t (i int); CREATE TABLE postgres=# SET search_path TO s1; SET postgres=# select t.i from t; i --- (0 rows) postgres=# select s1.t.i from t; i --- (0 rows) ``` mysql: ``` mysql> create database test -> ; Query OK, 1 row affected (0.00 sec) mysql> use test; Database changed mysql> create table t (i int); Query OK, 0 rows affected (0.00 sec) mysql> select t.i from t; Empty set (0.00 sec) mysql> select test.t.i from t; Empty set (0.00 sec) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
