Skip to content

feat!: Upgrade to plugin-sdk v4#210

Merged
disq merged 21 commits intomainfrom
feat/sdkv4
Jun 29, 2023
Merged

feat!: Upgrade to plugin-sdk v4#210
disq merged 21 commits intomainfrom
feat/sdkv4

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Jun 19, 2023

No description provided.

@github-actions github-actions Bot added the feat label Jun 19, 2023
Comment thread go.mod Outdated
@disq disq marked this pull request as ready for review June 20, 2023 10:41
@disq disq requested review from erezrokah and hermanschaaf June 26, 2023 12:29
@disq disq changed the title feat: Upgrade to plugin-sdk v4 feat!: Upgrade to plugin-sdk v4 Jun 26, 2023
Comment thread csv/write.go
if !isTypeSupported(f.Type) {
fields[i].Type = arrow.BinaryTypes.String
}
fields[i].Metadata = stripCQExtensionMetadata(fields[i].Metadata)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This call is required for the csv writer to actually write the records, on write it compares the schema given to the csv.NewWriter with the record schema, which (in our case) turns out to be slightly different and missing the cq:extension:* things. So we strip them here from both places (since they don't hold any actionable info for csv writing)

Comment thread json/write_read_test.go
"github.com/google/uuid"
)

func TestWrite(t *testing.T) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This test case was removed because TestWriteRead has the write functionality (and t.Log can be added for debugging if necessary)

@disq disq merged commit fae0de7 into main Jun 29, 2023
@disq disq deleted the feat/sdkv4 branch June 29, 2023 12:57
kodiakhq Bot pushed a commit that referenced this pull request Jun 29, 2023
🤖 I have created a release *beep* *boop*
---


## [4.0.0](v3.2.0...v4.0.0) (2023-06-29)


### ⚠ BREAKING CHANGES

* Upgrade to plugin-sdk v4 ([#210](#210))

### Features

* Upgrade to plugin-sdk v4 ([#210](#210)) ([fae0de7](fae0de7))


### Bug Fixes

* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 0656028 ([#221](#221)) ([a655381](a655381))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 1e68c51 ([#206](#206)) ([8e7e907](8e7e907))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 43638cb ([#212](#212)) ([8322675](8322675))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 95d3199 ([#214](#214)) ([9a796ab](9a796ab))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to 9a09f72 ([#207](#207)) ([9c03e62](9c03e62))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to b0832be ([#209](#209)) ([367439f](367439f))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to d01ed41 ([#208](#208)) ([0c447ec](0c447ec))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to d864719 ([#204](#204)) ([5c6d9e9](5c6d9e9))
* **deps:** Update github.com/cloudquery/arrow/go/v13 digest to f0dffc6 ([#213](#213)) ([c567381](c567381))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.1.0 ([#211](#211)) ([639a9da](639a9da))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.2.0 ([#215](#215)) ([c53fde4](c53fde4))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.2.1 ([#216](#216)) ([9dc8b34](9dc8b34))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.0 ([#217](#217)) ([41f7037](41f7037))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.2 ([#218](#218)) ([f57d43e](f57d43e))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.2 ([#219](#219)) ([a7e12d8](a7e12d8))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.3 ([#220](#220)) ([f4d8d70](f4d8d70))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.4 ([#222](#222)) ([59602c3](59602c3))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.5 ([#223](#223)) ([e9de9df](e9de9df))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.3.6 ([#224](#224)) ([76d44ba](76d44ba))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.4.0 ([#225](#225)) ([b5f44e2](b5f44e2))

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