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

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
respondido há 2 anos
AWS
ESPECIALISTA
avaliado há 2 anos

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