[
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: [email protected]
For additional commands, e-mail: [email protected]