Two streams Join Problem #2311
-
In flink,if two streams are running and we need to execute a join with them,flink gives three approaches to solve it,the Window Join,interval Join and Regular Join.So how does risingwave deals with that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for your interest in RisingWave! Currently, RisingWave support Regular join and Window join (generally available). See https://github.com/singularity-data/risingwave/blob/main/e2e_test/v2/streaming/join.slt for the regular join example. For WindowJoin, RisingWave support Windowing TVF, then you can do window join like: SELECT L.window_start, L.linenumber, L.quantity, O.orderstatus
FROM TUMBLE(lineitems, shipdate, INTERVAL '1' DAYS) as L
JOIN TUMBLE(orders, orderdate, INTERVAL '1' DAYS) as O
ON L.orderkey = O.orderkey and L.window_start = O.window_start; Window table function is implemented recently, and we haven't documented it. |
Beta Was this translation helpful? Give feedback.
Thanks for your interest in RisingWave!
Currently, RisingWave support Regular join and Window join (generally available).
See https://github.com/singularity-data/risingwave/blob/main/e2e_test/v2/streaming/join.slt for the regular join example.
For WindowJoin, RisingWave support Windowing TVF, then you can do window join like:
Window table function is implemented recently, and we haven't documented it.