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년 전
관련 콘텐츠
- 질문됨 22일 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전