Skip to content

[FLINK-12690][table-api] Introduce a Planner interface #8584

Closed
dawidwys wants to merge 3 commits intoapache:masterfrom
dawidwys:planner-interface
Closed

[FLINK-12690][table-api] Introduce a Planner interface #8584
dawidwys wants to merge 3 commits intoapache:masterfrom
dawidwys:planner-interface

Conversation

@dawidwys
Copy link
Contributor

What is the purpose of the change

This PR introduces the Planner interface that should serve as a bridge between API and planner modules.

Brief change log

  • 9a8ae5a - this commit moves the StreamTransformation from flink-streaming to flink-core. This is necessary so that we do not add dependency on flink-streaming to flink-table-api
  • Added Planner interface that defines methods to parse sql statements and convert relational TableOperation program to StreamTransformations
  • Introduced ModiyTableOperations which definy a way to exit the Table ecosystem. This way we can provide either TableSink to emit to or the expected type information of the produced StreamTransformations

Verifying this change

This change introduces only new interface that are not used yet, therefore no tests are added.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

dawidwys added 3 commits May 31, 2019 11:06
The Planner interface separates parsing, optimization & translating from
a relational QueryTableOperation representation into a runnable graph of
StreamTransformations. This enables switching between different
implementations of the planner in a TableEnvironment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants