Luka Zdravic created SPARK-59526:
------------------------------------
Summary: 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
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.
Defects 1 and 2 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: [email protected]
For additional commands, e-mail: [email protected]