[ 
https://issues.apache.org/jira/browse/SPARK-15971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Feinberg updated SPARK-15971:
--------------------------------------
    Description: 
The {{pyspark.sql.GroupedData}} object calls the Java object it wraps around as 
the member variable {{self._jdf}}, which is exactly the same as 
{{pyspark.sql.DataFrame}}, when referring its object.

The acronym is incorrect, standing for "Java DataFrame" instead of what should 
be "Java GroupedData". As such, the name should be changed to {{self._jgd}} - 
in fact, in the {{DataFrame.groupBy}} implementation, the java object is 
referred to as exactly {{jgd}}

  was:
The [[pyspark.sql.GroupedData]] object calls the Java object it wraps around as 
the member variable [[self._jdf]], which is exactly the same as 
[[pyspark.sql.DataFrame]], when referring its object.

The acronym is incorrect, standing for "Java DataFrame" instead of what should 
be "Java GroupedData". As such, the name should be changed to [[self._jgd]] - 
in fact, in the [[DataFrame.groupBy]] implementation, the java object is 
referred to as exactly [[jgd]]


> GroupedData's member incorrectly named
> --------------------------------------
>
>                 Key: SPARK-15971
>                 URL: https://issues.apache.org/jira/browse/SPARK-15971
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Vladimir Feinberg
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The {{pyspark.sql.GroupedData}} object calls the Java object it wraps around 
> as the member variable {{self._jdf}}, which is exactly the same as 
> {{pyspark.sql.DataFrame}}, when referring its object.
> The acronym is incorrect, standing for "Java DataFrame" instead of what 
> should be "Java GroupedData". As such, the name should be changed to 
> {{self._jgd}} - in fact, in the {{DataFrame.groupBy}} implementation, the 
> java object is referred to as exactly {{jgd}}



--
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