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]

asked 2 months ago127 views
1 Answer
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 ENGINEER
answered 2 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions