[
https://issues.apache.org/jira/browse/SPARK-12377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275081#comment-15275081
]
Apache Spark commented on SPARK-12377:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/12973
> Wrong implementation for Row.__call__ in pyspark
> ------------------------------------------------
>
> Key: SPARK-12377
> URL: https://issues.apache.org/jira/browse/SPARK-12377
> Project: Spark
> Issue Type: Bug
> Components: PySpark, SQL
> Reporter: Irakli Machabeli
>
> Current code
> def __call__(self, *args):
> """create new Row object"""
> return _create_row(self, args)
> has to be
> def __call__(self, *args):
> """create new Row object"""
> return _create_row(self.__fields__, args)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]