Skip to content

feat: Support all batch writers in test destination plugin.#19964

Merged
kodiakhq[bot] merged 5 commits intomainfrom
mariano/add-all-batch-writers
Dec 13, 2024
Merged

feat: Support all batch writers in test destination plugin.#19964
kodiakhq[bot] merged 5 commits intomainfrom
mariano/add-all-batch-writers

Conversation

@marianogappa
Copy link
Copy Markdown
Contributor

Adds spec options for all 3 batch writers on the test destination plugin.

My tests show that all 3 can be used. However, the streamBatchWriter CLI tests are getting stuck. This shouldn't block this PR, on the contrary, it might be good to add tests to the CLI using the streamBatchWriter and figure out why it's getting stuck.

Testing with this spec
Screenshot 2024-12-13 at 16 55 26

Test pass when omitting the streamBatchWriter
Screenshot 2024-12-13 at 17 34 44

@marianogappa marianogappa marked this pull request as ready for review December 13, 2024 13:37
@marianogappa marianogappa requested review from a team and erezrokah December 13, 2024 13:37
github.com/apache/arrow/go/v17 v17.0.0
github.com/cloudquery/codegen v0.3.21
github.com/cloudquery/plugin-sdk/v4 v4.71.1
github.com/cloudquery/plugin-sdk/v4 v4.72.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'll hold off updating to this SDK version otherwise you'd have two arrow versions in the plugin, v17 and v18.

The update is done via #19963

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Downgraded. The reason I initially upgraded was to see if the streambatchwriter issue was already fixed.

Copy link
Copy Markdown
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Looks good so can be merged without the SDK update

@marianogappa marianogappa added the automerge Automatically merge once required checks pass label Dec 13, 2024
@marianogappa marianogappa removed the automerge Automatically merge once required checks pass label Dec 13, 2024
@marianogappa
Copy link
Copy Markdown
Contributor Author

Ran the tests after downgrading arrow. Tests still behave the same.

@marianogappa marianogappa added the automerge Automatically merge once required checks pass label Dec 13, 2024
@kodiakhq kodiakhq bot merged commit f159291 into main Dec 13, 2024
@kodiakhq kodiakhq bot deleted the mariano/add-all-batch-writers branch December 13, 2024 13:53
marianogappa pushed a commit that referenced this pull request Dec 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.8.0](plugins-destination-test-v2.7.1...plugins-destination-test-v2.8.0)
(2024-12-16)


### Features

* Support all batch writers in test destination plugin.
([#19964](#19964))
([f159291](f159291))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.71.1
([#19934](#19934))
([0143675](0143675))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.72.0
([#19963](#19963))
([80b3c97](80b3c97))
* Fix hang in test destination plugin.
([#19970](#19970))
([864dd65](864dd65))

---
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/destination/test automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants