Glue Crawler cannot classify SNAPPY compressed JSON files

0

I have a KFH application that puts compressed json files as snappy into an S3 bucket. I have also a Glue Crawler that creates schema using that bucket. However, the crawler classifies the table as UNKNOWN in case I activate snappy compression. It cannot detect the file is in JSON format indeed. According to below doc, Glue crawler provides snappy compression with JSON files but I wasn't able to achieve it. https://docs.aws.amazon.com/glue/latest/dg/add-classifier.html#classifier-built-in

I have also thought it might be related to the file extension and tried below names but it didn't work:

Original:

|-----s3://my-bucket/my-table/day=01/file1.snappy

(1)

|-----s3://my-bucket/my-table/day=01/file1.snappy.json 

(2)

|-----s3://my-bucket/my-table/day=01/file1.json.snappy 

Thanks.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions