spark-instrumented-optimizer/examples/src/main
Jungtaek Lim 9dc8d0c3ae [SPARK-36455][SS] Provide an example of complex session window via flatMapGroupsWithState
### What changes were proposed in this pull request?

This PR proposes to add a new example of complex sessionization, which leverages flatMapGroupsWithState.

### Why are the changes needed?

We have replaced an example of sessionization from flatMapGroupsWithState to native support of session window. Given there are still use cases on sessionization which native support of session window cannot cover, it would be nice if we can demonstrate such case. It will also be used as an example of flatMapGroupsWithState.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manually tested. Example data is given in class doc.

Closes #33681 from HeartSaVioR/SPARK-36455.

Authored-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
Signed-off-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
(cherry picked from commit 004b87d9a1)
Signed-off-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
2021-08-09 19:40:37 +09:00
..
java/org/apache/spark/examples [SPARK-36455][SS] Provide an example of complex session window via flatMapGroupsWithState 2021-08-09 19:40:37 +09:00
python [SPARK-36314][SS] Update Sessionization examples to use native support of session window 2021-07-27 20:10:13 -07:00
r [SPARK-34562][SQL] Add test and doc for Parquet Bloom filter push down 2021-04-12 17:07:35 +03:00
resources [SPARK-35380][SQL] Loading SparkSessionExtensions from ServiceLoader 2021-05-13 16:34:13 +08:00
scala/org/apache/spark/examples [SPARK-36455][SS] Provide an example of complex session window via flatMapGroupsWithState 2021-08-09 19:40:37 +09:00
scripts [SPARK-27897][EXAMPLES] Move the get Gpu resources script to a scripts directory 2019-05-31 08:04:43 -07:00