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

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -