[
https://issues.apache.org/jira/browse/SPARK-12377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-12377.
----------------------------------
Resolution: Invalid
I verified this while trying to take over the PR and it seems working as
expected. Please reopen this if I misunderstood this JIRA.
> 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]