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

Support forcing varchar type in Json format

    XMLWordPrintableJSON

    Details

      Description

      Currently in json format, if the field type is varchar, we will call `JsonNode.asText()` which we always assumes the JsonNode is a TextNode.

      However, in many cases, we want to force it as varchar for other types, etc ObjectNode. We should use `JsonNode.toString()` for other JsonNode instead of `JsonNode.asText()`.

        Attachments

          Activity

            People

            • Assignee:
              libenchao Benchao Li
              Reporter:
              libenchao Benchao Li
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: