You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "KevinyhZou (Jira)" <ji...@apache.org> on 2024/08/26 08:28:00 UTC
[jira] [Created] (FLINK-36154) Support parse json ignore field key case
KevinyhZou created FLINK-36154:
----------------------------------
Summary: Support parse json ignore field key case
Key: FLINK-36154
URL: https://issues.apache.org/jira/browse/FLINK-36154
Project: Flink
Issue Type: Improvement
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
Reporter: KevinyhZou
Support to parse json string ignore the key case while match to schema field name. Sometimes we defined a table in flink sql, like `test_tbl(a String, b String)`, but sometimes when the json string from the mq(kafka/pulsar) may be like `\{"A":"a", "B":"b"}`, and the field `a` and `b` will not be parsed as the case of key not match.
So here we introduce a config `json.ignore-key-case` to ignore the case match problem in such suitation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)