Using Spark SQL with Spark Streaming
问题 Trying make sense of SparkSql with respect to Spark Structured Streaming. Spark Session reads events from a kafka topic, aggregates data to counts grouped by different column names and prints it to the console. Raw input data structured like this: +--------------+--------------------+----------+----------+-------+-------------------+--------------------+----------+ |. sourceTypes| Guid| platform|datacenter|pagesId| eventTimestamp| Id1234| Id567890| +--------------+--------------------+-------