How to query nested XML file in AWS Athena via Glue

后端 未结 2 1295
既然无缘
既然无缘 2021-01-16 10:19

I want the nested XML file to query from AWS Athena using AWS glue.





99988881111         


        
2条回答
  •  耶瑟儿~
    2021-01-16 10:51

    Athena cannot process XML file(s) directly. So, we need to any of the format's (CSV/JSON/etc..) which Athena supports.

    1) Crawl XML file in Glue (Give proper rowTag value)
    2) Write a Glue job to convert XML to CSV/JSON
    3) Crawl converted CSV/JSON

提交回复
热议问题