You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhan Zhang (JIRA)" <ji...@apache.org> on 2015/05/07 22:03:00 UTC
[jira] [Commented] (SPARK-7449) createPhysicalRDD should use RDD
output as schema instead of relation.schema
[ https://issues.apache.org/jira/browse/SPARK-7449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533294#comment-14533294 ]
Zhan Zhang commented on SPARK-7449:
-----------------------------------
In private[this] def createPhysicalRDD, it use
execution.RDDConversions.rowToRowRdd(rdd, relation.schema)
I think it is wrong, the right way should be
execution.RDDConversions.rowToRowRdd(rdd, StructType.fromAttributes(output))
> createPhysicalRDD should use RDD output as schema instead of relation.schema
> ----------------------------------------------------------------------------
>
> Key: SPARK-7449
> URL: https://issues.apache.org/jira/browse/SPARK-7449
> Project: Spark
> Issue Type: Bug
> Reporter: Zhan Zhang
>
--
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