You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (Jira)" <ji...@apache.org> on 2019/10/29 06:03:00 UTC
[jira] [Created] (SPARK-29628) Forcibly create a temporary view in
CREATE VIEW if referencing a temporary view
Takeshi Yamamuro created SPARK-29628:
----------------------------------------
Summary: Forcibly create a temporary view in CREATE VIEW if referencing a temporary view
Key: SPARK-29628
URL: https://issues.apache.org/jira/browse/SPARK-29628
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.0.0
Reporter: Takeshi Yamamuro
{code}
CREATE TEMPORARY VIEW temp_table AS SELECT * FROM VALUES
(1, 1) as temp_table(a, id);
CREATE VIEW v1_temp AS SELECT * FROM temp_table;
// In Spark
org.apache.spark.sql.AnalysisException
Not allowed to create a permanent view `v1_temp` by referencing a temporary view `temp_table`;
// In PostgreSQL
NOTICE: view "v1_temp" will be a temporary view
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org