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 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há 7 meses
  • Hi thanks, it worked, I just created a folder under that bucket and loaded my parquet there.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas