How to create AWS Athena table via Glue crawler when the s3 data store has both json and .gz compressed files?

前端 未结 2 1351
鱼传尺愫
鱼传尺愫 2021-01-24 17:55

I have two problems in my intended solution:

1. My S3 store structure is as following:

mainfolder/date=2019-01-01/hour=14/abcd.json
mainfolder/date=2019-         


        
2条回答
  •  孤街浪徒
    2021-01-24 18:47

    Crawler will not take compressed and uncompressed data together , so it will not work out of box. It is better to write spark job in glue and use spark.read()

提交回复
热议问题