Row is not a valid JSON Object - JSONException: Expected a ',' or '}'

0

[Simba]AthenaJDBC An error has been thrown from the AWS Athena client. Row is not a valid JSON Object - JSONException: Expected a ',' or '}' at 149 [character 150 line 1] [Execution ID: fd5f862a-7558-4329-93df-08ba753e7ee1]

gefragt vor 2 Jahren5784 Aufrufe
1 Antwort
1

Hi ,

the error seems to indicate that the JSON data set you are trying to read might be not be formatted correctly for Athena.

Athena expect the file to be in the format:

{ "id" : 50, "name":"John" }
{ "id" : 51, "name":"Jane" }
{ "id" : 53, "name":"Jill" }

the format below will not work:

{
  "id" : 50,
  "name":"John"
},
{
  "id" : 51,
  "name":"Jane"
}
{
  "id" : 53,
  "name":"Jill"
}

for more information please look this knowledge base article.

hope this helps

AWS
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen