I have a file in S3, and Presto running on EMR. I see I can use Json_extract to read the json.
I am running the following query, however, I keep seeing null instead of the correct value.
select json_extract('s3a://random-s3-bucket/analytics/20210221/myjsonfile.json', '$.dateAvailability')
I see this output
Not sure if my syntax is wrong? Thoughts?
Read more here: https://stackoverflow.com/questions/66336159/query-json-file-in-presto-in-s3
Content Attribution
This content was originally published by IndianGrandma007 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.