У меня есть такая схема
root
|-- CaseNumber: string (nullable = true)
|-- Interactions: struct (nullable = true)
| |-- EmailInteractions: array (nullable = true)
| | |-- element: string (containsNull = true)
| |-- PhoneInteractions: array (nullable = true)
| | |-- element: struct (containsNull = true)
| | | |-- CreatedOn: string (nullable = true)
| | | |-- Direction: string (nullable = true)
| |-- WebInteractions: array (nullable = true)
| | |-- element: string (containsNull = true)
Как мне сделать так
root
|-- CaseNumber: string (nullable = true)
|-- CreatedOn: string (nullable = true)
|-- Direction: string (nullable = true)
Будет оказана любая помощь