1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
I was able to get a crawler to crawl the data and write a quick query in Athena to be able to accomplish your use case effectively. Please take a look and try it out. If you have any questions, please let me know.
Step 1: I mocked up data for 10 different dates and moved the data in S3 Step 2: I created a crawler to crawl the S3 location and ran the crawler. It created a table with 2 columns referer and data. Step 3: I ran the athena query below to get the dates > 9/4/2022
SELECT referer, data.datum2, data.ts, data.datum1, date_format(from_unixtime(data.ts),'%Y-%m-%d') FROM "raw_db"."nested_json"
where date_format(from_unixtime(data.ts),'%Y-%m-%d') > '2022-09-04'
limit 10;
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 3年前