Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Read event hub captured Data

$
0
0

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


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>