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: Implement TransformSchema support. #1838

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

marianogappa
Copy link
Contributor

As discussed offline, Transformer plugins are going to need to explicitly provide a synchronous function to transform a schema.

Previously, I implemented a method by which this wasn't necessary, by reusing the existing transform function, but the problem is that we cannot assume that the transform function is not gonna swallow the initial message of a given table, or that it's gonna behave properly with an empty record with a schema.

Copy link

github-actions bot commented Jul 30, 2024

⏱️ Benchmark results

  • Glob-8 ns/op: 93.47

@kodiakhq kodiakhq bot merged commit 30875d6 into main Jul 31, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the mariano/add-transform-schema-support branch July 31, 2024 10:02
marianogappa pushed a commit that referenced this pull request Jul 31, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.56.0](v4.55.0...v4.56.0)
(2024-07-31)


### Features

* Implement TransformSchema support.
([#1838](#1838))
([30875d6](30875d6))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.21.2
([#1837](#1837))
([47bb424](47bb424))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.21.3
([#1840](#1840))
([d2c5c7b](d2c5c7b))

---
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants