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]

已提问 2 个月前141 查看次数
1 回答
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
支持工程师
已回答 2 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则