You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Keuntae Park (JIRA)" <ji...@apache.org> on 2015/07/02 08:34:04 UTC
[jira] [Created] (SPARK-8783) CTAS with WITH clause does not work
Keuntae Park created SPARK-8783:
-----------------------------------
Summary: CTAS with WITH clause does not work
Key: SPARK-8783
URL: https://issues.apache.org/jira/browse/SPARK-8783
Project: Spark
Issue Type: Bug
Components: SQL
Reporter: Keuntae Park
Priority: Minor
Following CTAS with WITH clause query
{code}
CREATE TABLE with_table1 AS
WITH T AS (
SELECT *
FROM table1
)
SELECT *
FROM T
{code}
induces following error
{code}
no such table T; line 7 pos 5
org.apache.spark.sql.AnalysisException: no such table T; line 7 pos 5
...
{code}
I think that WITH clause within CTAS is not handled properly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org