spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahab <shahab.mok...@gmail.com>
Subject Is "Array Of Struct" supported in json RDDs? is it possible to query this?
Date Mon, 13 Oct 2014 09:08:25 GMT
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

Mime
View raw message