I am creating a spark structured streaming application and I have a streaming
dataframe which has the below data in it.
{
"name":"sensor1",
"time":"2020-11-27T01:01:00",
"sensorvalue":11.0,
"tag1":"tagvalue"
}
I would like to convert that dataframe into below format.
{
"name":"sensor1",
"value-ar
I am creating a spark structured streaming application and I have a streaming
dataframe which has the below data in it.
{
"name":"sensor1",
"time":"2020-11-27T01:01:00",
"sensorvalue":11.0,
"tag1":"tagvalue"
}
I would like to convert that dataframe into below format.
{
"name":"sensor1",
"value-ar