You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/10/13 05:48:00 UTC

[jira] [Resolved] (SPARK-22257) Reserve all non-deterministic expressions in ExpressionSet.

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

Xiao Li resolved SPARK-22257.
-----------------------------
       Resolution: Fixed
         Assignee: Gengliang Wang
    Fix Version/s: 2.3.0

> Reserve all non-deterministic expressions in ExpressionSet.
> -----------------------------------------------------------
>
>                 Key: SPARK-22257
>                 URL: https://issues.apache.org/jira/browse/SPARK-22257
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> For non-deterministic expressions, they should be considered as not contained in the [[ExpressionSet]].
>  
> This is consistent with how we define `semanticEquals` between two expressions.
> Otherwise, combining expressions will remove non-deterministic expressions which should be reserved.
> E.g
> Combine filters of 
> ```
>       testRelation.where(Rand(0) > 0.1).where(Rand(0) > 0.1)
> ```
> should result in
> ```
>       testRelation.where(Rand(0) > 0.1 && Rand(0) > 0.1)
> ```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org