[
https://issues.apache.org/jira/browse/SPARK-6941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619874#comment-14619874
]
Yin Huai commented on SPARK-6941:
---------------------------------
I think right now, we will see "No plan for InsertIntoTable". We can add a rule
in CheckAnalysis to find the table of {{InsertIntoTable}} is a {{LogicalRDD}}.
If so, we let the user know he/she cannot insert data into this table because
it is immutable.
> Provide a better error message to explain that tables created from RDDs are
> immutable
> -------------------------------------------------------------------------------------
>
> Key: SPARK-6941
> URL: https://issues.apache.org/jira/browse/SPARK-6941
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Yin Huai
> Assignee: Yijie Shen
> Priority: Blocker
>
> We should explicitly let users know that tables created from RDDs are
> immutable and new rows cannot be inserted into it. We can add a better error
> message and also explain it in the programming guide.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]