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]

preguntada hace 2 meses142 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes

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