Skip to content

feat: Introduce Advanced Query Builder API#583

Open
sriramk03 wants to merge 7 commits intoOpenMined:mainfrom
sriramk03:advanced-query-builder
Open

feat: Introduce Advanced Query Builder API#583
sriramk03 wants to merge 7 commits intoOpenMined:mainfrom
sriramk03:advanced-query-builder

Conversation

@sriramk03
Copy link
Contributor

Description

This pull request introduces an Advanced Query Builder API to PipelineDP. This new API provides a more flexible and extensible way to construct and execute differentially private queries.

Key features of this change include:

  • A new advanced_query_builder.py module that contains the core logic for the query builder.
  • An AdvancedQueryBuilder class that allows for chaining of operations to construct complex queries.
  • Support for various aggregations such as COUNT, SUM, MEAN, VARIANCE, and QUANTILES.
  • Integration with the local backend for query execution.

Affected Dependencies

There are no new external dependencies introduced in this pull request.

How has this been tested?

  • A new test suite for the Advanced Query Builder has been added in tests/advanced_query_builder_test.py. This includes end-to-end tests that verify the functionality of the builder with the local backend.

Checklist

@sriramk03 sriramk03 force-pushed the advanced-query-builder branch from 9114409 to 8e5ff91 Compare November 25, 2025 15:54
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