Skip to content

feat: Implement TransformSchema support.#1838

Merged
kodiakhq[bot] merged 3 commits into
mainfrom
mariano/add-transform-schema-support
Jul 31, 2024
Merged

feat: Implement TransformSchema support.#1838
kodiakhq[bot] merged 3 commits into
mainfrom
mariano/add-transform-schema-support

Conversation

@marianogappa
Copy link
Copy Markdown
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.

@marianogappa marianogappa requested review from a team and erezrokah July 30, 2024 15:16
@github-actions github-actions Bot added the feat label Jul 30, 2024
@github-actions
Copy link
Copy Markdown

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
@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