Skip to content

Conversation

@EronWright
Copy link
Contributor

Signed-off-by: EronWright eronwright@gmail.com

What is the purpose of the change

Fix the ExternalTableCatalogBuilder to be able to produce batch-only tables, and test this more thoroughly by correctly labeling the tables produced by CommonTestData.

Brief change log

  • fix the logic in supportsBatch to properly declare a batch-only table
  • adjust CommonTestData to provide batch-only or streaming-only tables

Verifying this change

This change is already covered by existing tests, such as ExternalCatalogTest.

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? N/A

…y table

- fix the logic in supportsBatch to properly declare a batch-only table
- adjust CommonTestData to provide batch-only or streaming-only tables

Signed-off-by: EronWright <eronwright@gmail.com>
@EronWright
Copy link
Contributor Author

@bowenli86 and/or @twalthr please take a look, thanks.

Copy link
Contributor

@twalthr twalthr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @EronWright. Will merge this...

@asfgit asfgit closed this in 04035ce Jan 4, 2019
asfgit pushed a commit that referenced this pull request Jan 4, 2019
… a batch-only table

- fix the logic in supportsBatch to properly declare a batch-only table
- adjust CommonTestData to provide batch-only or streaming-only tables

This closes #7386.
asfgit pushed a commit that referenced this pull request Jan 4, 2019
… a batch-only table

- fix the logic in supportsBatch to properly declare a batch-only table
- adjust CommonTestData to provide batch-only or streaming-only tables

This closes #7386.
JTaky pushed a commit to JTaky/flink that referenced this pull request Jan 14, 2019
… a batch-only table

- fix the logic in supportsBatch to properly declare a batch-only table
- adjust CommonTestData to provide batch-only or streaming-only tables

This closes apache#7386.
tisonkun pushed a commit to tisonkun/flink that referenced this pull request Jan 17, 2019
… a batch-only table

- fix the logic in supportsBatch to properly declare a batch-only table
- adjust CommonTestData to provide batch-only or streaming-only tables

This closes apache#7386.
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.

4 participants