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 query API to Python plugins #25766

Merged
merged 1 commit into from
Jan 10, 2025
Merged

feat: Add query API to Python plugins #25766

merged 1 commit into from
Jan 10, 2025

Conversation

pauldix
Copy link
Member

@pauldix pauldix commented Jan 8, 2025

This ended up being a couple things rolled into one. In order to add a query API to the Python plugin, I had to pull the QueryExecutor trait out of server into a place so that the python crate could use it.

This implements the query API, but also fixes up the WAL plugin test CLI a bit. I've added a test in the CLI section so that it shows end-to-end operation of the WAL plugin test API and exercise of the entire Plugin API.

Closes #25757

Cargo.toml Outdated
@@ -6,7 +6,7 @@ members = [
"influxdb3_catalog",
"influxdb3_clap_blocks",
"influxdb3_client",
"influxdb3_id",
"influxdb3_id", "influxdb3_internal_api",
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be on a new line?

This ended up being a couple things rolled into one. In order to add a query API to the Python plugin, I had to pull the QueryExecutor trait out of server into a place so that the python crate could use it.

This implements the query API, but also fixes up the WAL plugin test CLI a bit. I've added a test in the CLI section so that it shows end-to-end operation of the WAL plugin test API and exercise of the entire Plugin API.

Closes #25757
@pauldix pauldix force-pushed the pd/plugin-query-api branch from 49ad2c1 to a05cc80 Compare January 10, 2025 01:05
@pauldix pauldix merged commit 2d18a61 into main Jan 10, 2025
13 checks passed
@pauldix pauldix deleted the pd/plugin-query-api branch January 10, 2025 01:13
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.

Add query capability to Python plugin API
2 participants