[
https://issues.apache.org/jira/browse/SPARK-61989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-61989:
-----------------------------------
Labels: pull-request-available (was: )
> Stream-stream join evicts equality-key state by a key that the opposite
> watermark does not bound
> ------------------------------------------------------------------------------------------------
>
> Key: SPARK-61989
> URL: https://issues.apache.org/jira/browse/SPARK-61989
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 4.3.0, 5.0.0, 4.4.0
> Reporter: Jungtaek Lim
> Priority: Major
> Labels: pull-request-available
>
> With watermarks on different equality keys ({{la = ra AND lb = rb}},
> watermarks on
> {{la}} and {{rb}}), both inputs' state is evicted by {{la}}. Future right
> rows are bounded only on
> {{rb}}, so left rows are evicted while they can still match. Full outer join:
> left {{(5, 50)}} is
> emitted as {{(5, 50, null, null)}} at watermark 40 s, and the later right
> {{(5, 50)}} as
> {{(null, null, 5, 50)}}, instead of one match. Fix: evict each side by the
> opposite input's
> watermarked key.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]