You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/01/22 14:05:00 UTC
[jira] [Updated] (SPARK-46794) Incorrect results due to inferred predicate from checkpoint with subquery
[ https://issues.apache.org/jira/browse/SPARK-46794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-46794:
-----------------------------------
Labels: pull-request-available (was: )
> Incorrect results due to inferred predicate from checkpoint with subquery
> --------------------------------------------------------------------------
>
> Key: SPARK-46794
> URL: https://issues.apache.org/jira/browse/SPARK-46794
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.5.0
> Reporter: Tom van Bussel
> Priority: Major
> Labels: pull-request-available
>
> Spark can produce incorrect results when using a checkpointed DataFrame with a filter containing a scalar subquery. This subquery is included in the constraints of the resulting LogicalRDD, and may then be propagated as a filter when joining with the checkpointed DataFrame. This causes the subquery to be evaluated twice: once during checkpointing and once while evaluating the query. These two subquery evaluations may return different results, e.g. when the subquery contains a limit with an underspecified sort order.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org