You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Luka Zdravic (Jira)" <ji...@apache.org> on 2026/10/06 13:17:00 UTC
[jira] [Resolved] (SPARK-59526) ASOF JOIN MATCH_CONDITION operand validation defects
[ https://issues.apache.org/jira/browse/SPARK-59526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luka Zdravic resolved SPARK-59526.
----------------------------------
Resolution: Resolved
> ASOF JOIN MATCH_CONDITION operand validation defects
> ----------------------------------------------------
>
> Key: SPARK-59526
> URL: https://issues.apache.org/jira/browse/SPARK-59526
> Project: Spark
> Issue Type: Umbrella
> Components: SQL
> Affects Versions: 5.0.0
> Reporter: Luka Zdravic
> Priority: Minor
>
> ASOF JOIN checks MATCH_CONDITION operands with a dedicated policy that does not match how Spark checks the same operators and operands elsewhere.
> This umbrella tracks three defects, one sub-task each:
> 1. MATCH_CONDITION rejects a DATE vs STRING pair that the comparison operator accepts and coerces.
> 2. MATCH_CONDITION rejects arrays with different but coercible element types that the comparison operator accepts.
> 3. MATCH_CONDITION accepts a constant operand that references no join input, which makes the as-of match ill-defined.
> 4. MATCH_CONDITION rejects empty STRUCT operands, also when nested, that the comparison operator accepts.
> Defects 1 and 2 and 4 make ASOF stricter than a plain comparison. Defect 3 makes it too lenient.
--
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