Hello,
I am trying to read the data from captured event hub streaming data using spark. but couldn't able to do that.
after selecting the field which i need by using the following query
incomingStream.withColumn("Body", $"body".cast(StringType)).select("body")
Now i want to use this as body as input to spark.read.json(body)
Thanks
Naveen