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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -