Skip to content

feat(firestore): add DML support to pipelines#16473

Open
daniel-sanche wants to merge 11 commits intomainfrom
firestore_pipelines_dml
Open

feat(firestore): add DML support to pipelines#16473
daniel-sanche wants to merge 11 commits intomainfrom
firestore_pipelines_dml

Conversation

@daniel-sanche
Copy link
Copy Markdown
Contributor

@daniel-sanche daniel-sanche commented Mar 27, 2026

Add support for Data Manipulation Language, making pipelines read/write instead of read-only

New Stages:

  • Delete
  • Update

New e2e test assertion:

  • assert_end_state, to assert that the database is in a certain state after running a pipeline

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces delete and update stages to the Firestore pipeline, enabling document deletion and in-place updates. The changes include new stage implementations, pipeline methods, and comprehensive system tests. Feedback highlights a logic error in the test assertions where empty documents were incorrectly identified as deleted, and suggests clarifying the update method's documentation to distinguish between partial updates and full document saves. Additionally, a more explicit syntax for field transformations in YAML tests was recommended for better consistency.

@daniel-sanche daniel-sanche changed the title [DRAFT] feat(firestore): add DML support to pipelines feat(firestore): add DML support to pipelines Apr 2, 2026
@daniel-sanche daniel-sanche marked this pull request as ready for review April 2, 2026 00:07
@daniel-sanche daniel-sanche requested review from a team as code owners April 2, 2026 00:07
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