Hello,

Given the following structure, is it possible to query, e.g. session[0].id ?

In general, is it possible to query  "Array Of Struct" in json RDDs?

root

 |-- createdAt: long (nullable = true)

 |-- id: string (nullable = true)

 |-- sessions: array (nullable = true)

 |    |-- element: struct (containsNull = false)

 |    |    |-- id: string (nullable = true)

 |    |   |-- data string (nullable = true)


best,
/Shahab

Reply via email to