You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/05/07 14:10:59 UTC
[GitHub] [flink] twalthr opened a new pull request #8360:
[FLINK-12393][table-common] Add the user-facing classes of the new type
system
twalthr opened a new pull request #8360: [FLINK-12393][table-common] Add the user-facing classes of the new type system
URL: https://github.com/apache/flink/pull/8360
## What is the purpose of the change
This PR introduces the `DataType` class and subclasses. Users are able to do a star import of `DataTypes` and declare types like: `MULTISET(MULTISET(INT())`. Very close to SQL. As mentioned in FLIP-37, data types allow to specify format hints to the planner using `TIMESTAMP(9).bridgedTo(java.sql.Timestamp.class)`.
## Brief change log
- `DataType` structure
- `DataTypes` enumeration of types
## Verifying this change
See `org.apache.flink.table.types.DataTypesTest`.
## 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)`: 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? yes
- If yes, how is the feature documented? JavaDocs
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services