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.

preguntada hace un año545 visualizaciones
1 Respuesta
1
Respuesta aceptada

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

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas