You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2015/11/19 23:00:12 UTC
[jira] [Resolved] (SPARK-11812) pyspark reduceByKeyAndWindow does
not handle unspecified invFunc (invFunc=None)
[ https://issues.apache.org/jira/browse/SPARK-11812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tathagata Das resolved SPARK-11812.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
1.5.3
1.4.2
1.3.2
> pyspark reduceByKeyAndWindow does not handle unspecified invFunc (invFunc=None)
> -------------------------------------------------------------------------------
>
> Key: SPARK-11812
> URL: https://issues.apache.org/jira/browse/SPARK-11812
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 1.5.2
> Reporter: David Tolpin
> Fix For: 1.3.2, 1.4.2, 1.5.3, 1.6.0
>
>
> invFunc is optional and can be None. Instead of invFunc (the parameter) invReduceFunc (a local function) was checked for trueness (that is, not None, in this context). A local function is never None,
> thus the case of invFunc=none (a common one when inverse reduction is not defined) is treated incorrectly, resulting in loss of data.
--
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