Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-2435] tests: refactor SqlTestFactory #771

Closed
wants to merge 4 commits into from

Conversation

vlsi
Copy link
Contributor

@vlsi vlsi commented Aug 1, 2018

Implements https://issues.apache.org/jira/browse/CALCITE-2435

There are three key changes here:

  1. Rename DefaultSqlTestFactory to SqlTestFactory. SqlTestFactory was an interface, however it has a single viable implementation, so it makes little sense to keep it as is.
  2. Move MockCatalogReader.init and MockCatalogReader.init2 to MockCatalogReaderSimple and MockCatalogReaderExtended
  3. Move MockCatalogReader to its own package, and split several inner classes to a top-level ones.
  4. Replace usages

@asfgit asfgit closed this in 96b28f7 Aug 2, 2018
@vlsi vlsi deleted the refactor_ssltestfactory branch August 2, 2018 09:17
sergeyT2 pushed a commit to sergeyT2/calcite that referenced this pull request Aug 29, 2018
sergeyT2 pushed a commit to sergeyT2/calcite that referenced this pull request Aug 29, 2018
F21 pushed a commit to F21/calcite that referenced this pull request Jan 3, 2019
wangxlong pushed a commit to wangxlong/calcite that referenced this pull request Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant