[
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: [email protected]
For additional commands, e-mail: [email protected]