HIVE_UNKNOWN_ERROR: Path is not absolute: s3://u2b-cleansed-data

0

I have converted a json format file in parquet, I can see the parquet file and the columns, but while querying with Athena getting error. HIVE_UNKNOWN_ERROR: Path is not absolute: s3://u2b-cleansed-data This query ran against the "u2b_cleansed_data" database, unless qualified by the query. While doing "show create table", I am able to see location is 's3://u2b-cleansed-data' what can be the issue here?

1개 답변
0
수락된 답변

You should not put the table files directly under the bucket, all these systems assume there is a DataWarehouse path under which there is a folder for each table (even if you have one).
In your case the table path is null and that is problematic for many tools, that's why I think it means that "not absolute error" in this tool, on others you can just get a null path error.

profile pictureAWS
전문가
답변함 7달 전
  • Hi thanks, it worked, I just created a folder under that bucket and loaded my parquet there.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠