LoginSignup
2
0

More than 5 years have passed since last update.

僕はまたAthenaのPartitionで死に申した。

Posted at

CloudFrontのログ形式が s3://orenocloudfront.com//ORENOPREFIX.2017-04-10-00.1a2b3c4d5e.gz みたいになってるとき、 paritioned by 句をつけてCREATEしたTableからは何をどうあがいてもデータは取得できません。

For the LOCATION clause, using a trailing slash
In the LOCATION clause, use a trailing slash for your folder or bucket, NOT filenames or glob characters. For

example:
Use:
  s3://path_to_bucket/
Don't Use:
  s3://path_to_bucket
  s3://path_to_bucket/*
  s3://path_to_bucket/mySpecialFile.dat

/ 終わりじゃないといけないんだってさ。
S3の / はディレクトリじゃないって偉い人がいってたのに!!!!!!!

2
0
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0