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]

posta 2 mesi fa141 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande