Illegal unquoted character ((CTRL-CHAR, code 10)

0

GENERIC_INTERNAL_ERROR: SchemaParseException thrown initializing deserializer io.trino.plugin.hive.avro.TrinoAvroSerDe. Cause: com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [Source: (String)"{"type":"record","namespace":"com.agilityrobotics.log.diagnostics.avro","name":"Cyclic","fields":[{"name":"persistent","type":{"type":"record","namespace":"com.agilityrobotics.log.diagnostics.avro","name":"Persistent","doc":"Data which persists between multiple updates of the Diagnostic log Is copied and fully self contained in the actual diagnostic log data","fields":[{"name":"has_logging_error","type":"boolean","default":false},{"name":"last_temp_was_warn","type":"boolean","default":false}]}},"[truncated 2120 chars]; line: 1, column: 293]

gefragt vor 2 Monaten141 Aufrufe
1 Antwort
0

Hello,

This issue "com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10))" seem to occur if you have a newline (or other control character) in a JSON string literal.

Please refer to below link for the same issue: https://stackoverflow.com/questions/31537153/jsonparseexception-illegal-unquoted-character-ctrl-char-code-10

Therefore, please check your dataset for the same.

AWS
SUPPORT-TECHNIKER
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

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