- 최신
- 최다 투표
- 가장 많은 댓글
Athena suggests to use lower case for table names and table column names. Please refer below link
https://docs.aws.amazon.com/athena/latest/ug/tables-databases-columns-names.html
Hello,
I noticed that in location parameter for Create Table you have provided backet name only (LOCATION 's3://nameofbucket/'). Make sure that this bucket only consist csv data with schema provided in table DDL. I am suspecting this backet consist other folders and files due to which Athena generated emplty results. Please check this location again and if ithis bucket consist other folder and files, then move the csv file to different prefix and in location provide s3 location till prefix which consist csv files with mentioned schema.
After creating table you need to add partitions
MSCK REPAIR TABLE <tablename>
;
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 7달 전
I changed it to lowercase, still outputs an empty table..