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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -