1 Answers
0
Hello,
Looks like the issue is with the property jsonPath which gets added by the AWS glue crawler to the table properties when you attach a custom JSON classifier. When you query this table using AWS Athena with the JSON serde org.openx.data.jsonserde.JsonSerDe , it is not able to understand this property and hence it might not be able to parse the JSON data resulting in empty rows.
I would suggest you to check on this blog for querying nested JSON data using AWS Athena.
However, a Glue ETL job is able to read the table and display the output successfully !!
Ref:
AWS Athena JSON serde reference
Relevant questions
Converting JSON string to table/ojbect in Lua
asked 5 years agoAWS Glue crawler exclude patterns not working
Accepted Answerasked 6 months agoLoading json string data as super from Glue job in to Redshift
asked 8 months agoflatten deeply nested JSON with Crawler
Accepted Answerasked 2 years agoJSON Custom Classifier not parsing data
asked 25 days agoGlue crawler json parsing
asked 25 days ago[Pandas] [Glue] ResolveChoice cannot cast to JSON
asked 9 days agoHow to ensure that ALL json object fields are imported into QuickSight?
asked a day agoAWS Glue crawler detecting a .(dot) before header of a csv file
asked 4 years agoImporting json that has a nested array
Accepted Answerasked 3 years ago