Skip to content

Conversation

@erezrokah
Copy link
Member

Summary

The function returns an error so we could do that instead of panicking (unless there's a specific reason to panic I'm missing)

@erezrokah erezrokah requested a review from yevgenypats as a code owner April 17, 2023 17:04
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Apr 17, 2023
@disq
Copy link
Member

disq commented Apr 17, 2023

Could even wrap with arrow.ErrNotImplemented (it's a fetish of mine now)

@kodiakhq kodiakhq bot merged commit 2c0bbeb into cloudquery:main Apr 17, 2023
@yevgenypats
Copy link
Contributor

Could even wrap with arrow.ErrNotImplemented (it's a fetish of mine now)

I think it's an error that shouldn't occur rather then not-implemented. That's why I used panic but ret error is also good. I think also arrow.ErrNotImplemented should only be used in arrow codebase (unless you are trolling me :) )

kodiakhq bot pushed a commit that referenced this pull request Apr 18, 2023
🤖 I have created a release *beep* *boop*
---


## [4.0.0](plugins-destination-postgresql-v3.0.3...plugins-destination-postgresql-v4.0.0) (2023-04-18)


### ⚠ BREAKING CHANGES

* This release introduces an internal change to our type system to use [Apache Arrow](https://arrow.apache.org/). This should not have any visible breaking changes, however due to the size of the change we are introducing it under a major version bump to communicate that it might have some bugs that we weren't able to catch during our internal tests. If you encounter an issue during the upgrade, please submit a [bug report](https://github.com/cloudquery/cloudquery/issues/new/choose).

### Features

* Update to use arrow type system ([69dc113](69dc113))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.45.0 ([#9863](#9863)) ([2799d62](2799d62))
* Return error instead of panicking ([#10147](#10147)) ([2c0bbeb](2c0bbeb))
* Sanitize constraint name during migrate and write ([#10137](#10137)) ([b58b76c](b58b76c))

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

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants