Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-36154

Support deserialize json ignore field key case

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zouyunhe KevinyhZou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: