You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/07/09 06:40:04 UTC
[jira] [Commented] (SPARK-6941) Provide a better error message to
explain that tables created from RDDs are immutable
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org