scala - how to put filter on structure of attributes of xml files with spark -
i have large number of xml files large number of attributes. want apply filter on list of these files can find files contains attribute named "a" structtype. how can achieve ?
|-- a: array (nullable = true) | |-- element: struct (containsnull = true) | | |-- b: string (nullable = true) | | |-- c: string (nullable = true)
data -
a [[1,x]]
Comments
Post a Comment