I understand that its possible to do stateless aggregation using mapGroups and flatMapGroups API in Spark 2.x+. I want to use aggregate queries on a streaming registered temporary view. Is there any way to do the same using spark.sql(" ... ") ?
PS: I've checked this