spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-11812) pyspark reduceByKeyAndWindow does not handle unspecified invFunc (invFunc=None)
Date Wed, 18 Nov 2015 08:58:11 GMT

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

Apache Spark reassigned SPARK-11812:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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


Mime
View raw message