imback82 commented on a change in pull request #26361: [SPARK-29630][SQL] 
Disallow creating a permanent view that references a temporary view in an 
expression
URL: https://github.com/apache/spark/pull/26361#discussion_r341799602
 
 

 ##########
 File path: 
sql/core/src/test/resources/sql-tests/inputs/postgreSQL/create_view.sql
 ##########
 @@ -174,7 +174,6 @@ DESC TABLE EXTENDED v7;
 CREATE VIEW v8 AS SELECT * FROM base_table WHERE EXISTS (SELECT 1);
 DESC TABLE EXTENDED v8;
 
--- [SPARK-29628] Forcibly create a temporary view in CREATE VIEW if 
referencing a temporary view
 CREATE VIEW v6_temp AS SELECT * FROM base_table WHERE id IN (SELECT id FROM 
temp_table);
 CREATE VIEW v7_temp AS SELECT t1.id, t2.a FROM base_table t1, (SELECT * FROM 
temp_table) t2;
 -- [SPARK-29630] Not allowed to create a permanent view by referencing a 
temporary view in EXISTS
 
 Review comment:
   fixed. thanks!

----------------------------------------------------------------
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]

Reply via email to