GitHub user twalthr opened a pull request: https://github.com/apache/flink/pull/5491
[FLINK-8630] [table] To support JSON schema to TypeInformation conversion ## What is the purpose of the change This PR implements (almost) full support of the JSON type. It includes: - Schema to TypeInformation conversion - Support for `number`, `integer`, `string`, `object`, `array` types - Initial support for date, time, and timestamp format and mapping to Flink types - Support for base64 encoded byte arrays - Nested support ## Brief change log - New module `flink-json` in `flink-formats` - New JsonSchemaConverter - Improved JsonRowSerialization/DeserializationSchema ## Verifying this change - Improved existing tests - New unit tests ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): yes - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: yes - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? will document together with first JSON connector You can merge this pull request into a Git repository by running: $ git pull https://github.com/twalthr/flink FLINK-8630 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5491.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5491 ---- commit 7e18fbfb560aea10935a549b9dc4075f7018eb75 Author: twalthr <twalthr@...> Date: 2018-02-12T17:18:44Z [FLINK-8630] [table] To support JSON schema to TypeInformation conversion ---- ---