escape caracter in AWS glue

0

Hi team, I have an AWS glue job that reads data from the CSV file in s3 and injects the data on a table in MySQL RDS Aurora DB.

The issue is all lines in the CSV file with escaped characters are completely ignored by the glue job and they are not inserted on the table.

For example on my CSV file the line containing this string is ignored by glue :

"Return "1" if the number is zero; "0" if the number is non-zero. xxxxxxxxxxxxxx."

how can I configure glue to not ignore those lines that contain escaped double quotes?

1 réponse
0
Réponse acceptée

I found a solution :

In the AWS Glue console => Tables, choose the table and edit Edit table details.

add this detail :

  • escapeChar, enter a backslash ().
Jess
répondu il y a 2 ans
AWS
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions