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

Reply via email to