peter-toth commented on pull request #31550:
URL: https://github.com/apache/spark/pull/31550#issuecomment-781266853


   > > [SPARK-34421](https://issues.apache.org/jira/browse/SPARK-34421): 
Resolve temporary objects in permanent views with CTEs tests the non regression 
part. That "temp object in permanent one" check came with #30567 but it doesn't 
work on permanent views with CTEs without this fix.
   > 
   > Just a correction, temporary objects check for permanent views are 
existing for a long time, not introduced by #30567. But we never check the CTE 
scenario which is fixed by this PR. You can try the below queries on 3.0
   > 
   > ```
   > CREATE TEMPORARY VIEW v0 AS SELECT 0
   > CREATE VIEW v1 AS SELECT FROM v0
   > ```
   
   Indeed, thanks for the correction.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to