[ https://issues.apache.org/jira/browse/FLINK-28338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser updated FLINK-28338: ----------------------------------- Summary: Enable the possibility to allow leading zeros for number in JSON (was: org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed) > Enable the possibility to allow leading zeros for number in JSON > ---------------------------------------------------------------- > > Key: FLINK-28338 > URL: https://issues.apache.org/jira/browse/FLINK-28338 > Project: Flink > Issue Type: Improvement > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > Affects Versions: 1.13.6 > Environment: flinksql 1.13.6 ,解析kafka里面的json数据含有 0 开头的变量值 > Reporter: wangkang > Priority: Minor > Attachments: image-2022-07-01-11-31-32-561.png > > > Caused by: > org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParseException: > Invalid numeric value: Leading zeroes not allowed > at [Source: (byte[])"\{"uuid":"1285","name":"杨YP","age":01,"ts":"2022-07-01 > 10:33:09.553","partition":"part8"}"; line: 1, column: 38] > at > org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2337) > !image-2022-07-01-11-31-32-561.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)