1 Answer
- Newest
- Most votes
- Most comments
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 content
- asked 7 months ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago