I have a streaming spark app, wherein the running stream I\'m removing duplicate rows using Stateful Aggregation with flatMapGroupsWithState. But when I used
flatMapGroupsWithState