tragicjun opened a new pull request #6578: [FLINK-10170 [table] Support string representation for map types in d… URL: https://github.com/apache/flink/pull/6578 ## What is the purpose of the change Since 1.6 the recommended way of creating source/sink table is using connector/format/schema/ descriptors. However, when declaring map types in the schema descriptor, the following exception would be thrown: > org.apache.flink.table.api.TableException: A string representation for map types is not supported yet. This pull request is to add string representation support for map types. ## Brief change log - Add new `Keyword` and `PackratParser` for map types in TypeStringUtils - Add normalization logic for map types in `TypeStringUtils.writeTypeInfo()` - Update relevant unit tests in `TypeStringUtilsTest` and `TableDescriptorTest` ## Verifying this change This change can be verified covered by updated unit tests, such as *TypeStringUtilsTest* and *TableDescriptorTest*. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - 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? (not applicable)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
