Can we use flatMapGroupsWithState in batch mode?
We have been using flatMapGroupsWithState API to do sessionization of our click stream data. Now we are planning to use it to run in Batch Mode.
For more context check this video posted by Bartosz Konieczny in youtube Using Apache Spark to Solve Sessionization Problem in Batch and Streaming
Can we get rid off the full-outer join and use mapGroupWithState with a checkpoint folder and Spark State