You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/11/18 09:58:11 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15010518#comment-15010518 ]
Apache Spark commented on SPARK-11812:
--------------------------------------
User 'dtolpin' has created a pull request for this issue:
https://github.com/apache/spark/pull/9775
> 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
>
> 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