You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Irakli Machabeli (JIRA)" <ji...@apache.org> on 2015/12/16 22:14:46 UTC

[jira] [Created] (SPARK-12377) Wrong implementation for Row.__call__ in pyspark

Irakli Machabeli created SPARK-12377:
----------------------------------------

             Summary: 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org