You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/10/07 18:18:00 UTC

[jira] [Commented] (SPARK-27484) Create the streaming writing logical plan node before query is analyzed

    [ https://issues.apache.org/jira/browse/SPARK-27484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209755#comment-17209755 ] 

Dongjoon Hyun commented on SPARK-27484:
---------------------------------------

It seems that [~kabhwan] also hits this issue and documents it in his SPARK-32896 PR like the following.
- https://github.com/apache/spark/pull/29767/files#diff-d35e8fce09686073f81de598ed657de7R314-R319
{code}
      // Currently we don't create a logical streaming writer node in logical plan, so cannot rely
       // on analyzer to resolve it. Directly lookup only for temp view to provide clearer message.
       // TODO (SPARK-27484): we should add the writing node before the plan is analyzed.
       if (df.sparkSession.sessionState.catalog.isTempView(originalMultipartIdentifier)) {
         throw new AnalysisException(s"Temporary view $tableName doesn't support streaming write")
       }
{code}

> Create the streaming writing logical plan node before query is analyzed
> -----------------------------------------------------------------------
>
>                 Key: SPARK-27484
>                 URL: https://issues.apache.org/jira/browse/SPARK-27484
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Wenchen Fan
>            Priority: Major
>




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