You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vladimir Feinberg (JIRA)" <ji...@apache.org> on 2016/06/15 19:19:09 UTC
[jira] [Updated] (SPARK-15971) GroupedData's member incorrectly
named
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org