Skip to content

[CALCITE-4914] Introduce HandlerBasedRelMetdataQuery as an extension point#2624

Closed
jacques-n wants to merge 3 commits into
apache:masterfrom
jacques-n:CALCITE-4914
Closed

[CALCITE-4914] Introduce HandlerBasedRelMetdataQuery as an extension point#2624
jacques-n wants to merge 3 commits into
apache:masterfrom
jacques-n:CALCITE-4914

Conversation

@jacques-n
Copy link
Copy Markdown
Contributor

@jacques-n jacques-n commented Dec 2, 2021

This is a precursor to implementing CALCITE-4879. It tries to better encapsulate/separate
the consumption side of RelMetaDataQuery from the production side. This includes:

  • Mark the public fields in RelMetadataQueryBase as INTERNAL fields
  • Deprecate the static initialHandler method and replace it with a class level createInitialHandler
  • Deprecate the public constructor of RelMetadataQuery to avoid direct extension
  • Introduce a new HandlerBasedRelMetdataQuery that will house the handler specific
    concepts in a future release.

…point

This is a precursor to implementing CALCITE-4879. It tries to better encapsulate
separate the consumption side of RelMetaDataQuery from the production side. This
includes:
- Mark the public fields in RelMetadataQueryBase as INTERNAL fields
- Deprecate the static initialHandler method and replace it with a class level createInitialHandler
- Deprecate the public constructor of RelMetadataQuery to avoid direct extension
- Introduce a new HandlerBasedRelMetdataQuery that will house the handler specific
  concepts in a future release.
@jacques-n
Copy link
Copy Markdown
Contributor Author

Adding @julianhyde as a reviewer as he expressed some concerns around this work on Jira.

@jacques-n
Copy link
Copy Markdown
Contributor Author

jacques-n commented Dec 18, 2021

Due to discussions on jira, abandoning.

@jacques-n jacques-n closed this Dec 18, 2021
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