Skip to content

feat: Add ability to delete records in test plugin#21106

Merged
kodiakhq[bot] merged 5 commits intomainfrom
test-plugin-delete-records
Jul 23, 2025
Merged

feat: Add ability to delete records in test plugin#21106
kodiakhq[bot] merged 5 commits intomainfrom
test-plugin-delete-records

Conversation

@hermanschaaf
Copy link
Copy Markdown
Contributor

This adds the ability to delete records using the test plugin. It:

  1. serves as an example of how the delete API can be used
  2. allows developers to test delete implementations

Example usage:

kind: source
spec:
  name: test
  path: <path to local test plugin build>
  registry: local
  version: "development"
  tables: ["*"]
  destinations: ["sqlite"]
  spec:
    num_rows: 10
    delete_records: [1, 2, 3]

Then,

sqlite> select resource_id from test_some_table order by resource_id;
4
5
6
7
8
9
10

@hermanschaaf hermanschaaf requested a review from a team as a code owner July 23, 2025 13:39
@hermanschaaf hermanschaaf requested a review from erezrokah July 23, 2025 13:39
@hermanschaaf hermanschaaf added the automerge Automatically merge once required checks pass label Jul 23, 2025
@hermanschaaf hermanschaaf removed the automerge Automatically merge once required checks pass label Jul 23, 2025
@hermanschaaf hermanschaaf added the automerge Automatically merge once required checks pass label Jul 23, 2025
@kodiakhq kodiakhq bot merged commit 129b6ee into main Jul 23, 2025
18 checks passed
@kodiakhq kodiakhq bot deleted the test-plugin-delete-records branch July 23, 2025 13:50
kodiakhq bot pushed a commit that referenced this pull request Jul 23, 2025
🤖 I have created a release *beep* *boop*
---


## [4.8.0](plugins-source-test-v4.7.23...plugins-source-test-v4.8.0) (2025-07-23)


### Features

* Add ability to delete records in test plugin ([#21106](#21106)) ([129b6ee](129b6ee))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.3 ([#21010](#21010)) ([c78cff9](c78cff9))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.4 ([#21104](#21104)) ([44f77c8](44f77c8))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/plugin/source/test automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants