Athena query returns values from wrong columns. How to troubleshoot?

0

I have a simple query in athena, select avg price, group by country. It is returning 4 rows, 1 for canada, 1 for usa, and then 2 rows with dates in the country column. This seems to be a bug. What can be done to understand what is going wrong? I am new to athena completely.

Athena is querying a db in glue that has indexed the metadata of a csv file in s3 with its crawler. I have downloaded the csv from s3, and it looks fine.

已提問 1 年前檢視次數 543 次
1 個回答
1
已接受的答案

I removed all special characters in glue data brew then re processed the data and it worked fine in athena. it seems columns with forward slashes were messing up athena's query results

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南