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

feat: add SystemSchemaProvider to QueryExecutor #24990

Merged
merged 8 commits into from May 17, 2024
Merged

Conversation

hiltontj
Copy link
Contributor

@hiltontj hiltontj commented May 10, 2024

A shell for the system table provider was added to the QueryExecutorImpl which currently does not do anything, but will enable us to tie the different system table providers into it. For example, see the follow up PR that adds the system.queries table: #24992

One notable change in this PR was the elevation of the QueryLog from the Database, i.e., namespace provider, to the QueryExecutorImpl, so that it lives across queries.

Closes #24986

A shell for the `system` table provider was added to the QueryExecutorImpl
which currently does not do anything, but will enable us to tie the
different system table providers into it.

The QueryLog was elevated from the `Database`, i.e., namespace provider,
to the QueryExecutorImpl, so that it lives accross queries.
@hiltontj hiltontj added the v3 label May 10, 2024
@hiltontj hiltontj self-assigned this May 10, 2024
Base automatically changed from hiltontj/2024-05-07-core-sync to main May 13, 2024 16:33
@hiltontj hiltontj marked this pull request as ready for review May 13, 2024 20:32
@@ -486,7 +495,6 @@ impl<B: WriteBuffer> QueryTable<B> {
filters: &[Expr],
_limit: Option<usize>,
) -> Result<Vec<Arc<dyn QueryChunk>>, DataFusionError> {
// TODO - this is only pulling from write buffer, and not parquet?
Copy link
Contributor Author

@hiltontj hiltontj May 13, 2024

Choose a reason for hiding this comment

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

This comment seems irrelevant, so I removed it.

@hiltontj hiltontj merged commit 1cb3652 into main May 17, 2024
12 checks passed
@hiltontj hiltontj deleted the hiltontj/system-tables branch May 17, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tie system tables queries into the QueryDatabase in the query_executor using core traits/types
2 participants