[
https://issues.apache.org/jira/browse/SPARK-15667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307626#comment-15307626
]
Apache Spark commented on SPARK-15667:
--------------------------------------
User 'WangTaoTheTonic' has created a pull request for this issue:
https://github.com/apache/spark/pull/13409
> Throw exception if columns number of outputs mismatch the inputs
> ----------------------------------------------------------------
>
> Key: SPARK-15667
> URL: https://issues.apache.org/jira/browse/SPARK-15667
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1
> Reporter: Tao Wang
> Priority: Minor
>
> When we insert some values into a hive table, it will throw
> `ArrayIndexOutOfBoundsException` in the executor side, which is not
> reasonable.
> We should check the columns number of inputs and outputs, and throw exception
> in driver side if they are not same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]