Skip to content

Conversation

@yevgenypats
Copy link
Contributor

@yevgenypats yevgenypats commented Apr 18, 2023

Closes #10113

BEGIN_COMMIT_OVERRIDE
feat: Update to use Apache Arrow type system

BREAKING-CHANGE: This release introduces an internal change to our type system to use Apache Arrow. 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.

END_COMMIT_OVERRIDE

@yevgenypats yevgenypats marked this pull request as ready for review April 19, 2023 09:13
@yevgenypats yevgenypats requested review from a team and disq and removed request for a team April 19, 2023 09:13
Copy link
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.

The code looks good, had 2 comments

return nil, err
}
db, err := sql.Open("snowflake", spec.ConnectionString)
binaryFormat := "BASE64"
Copy link
Member

Choose a reason for hiding this comment

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

This seems like an additional breaking change? Can we add it to the change log as well? See example #10169 for multiple breaking changes in a single PR

Copy link
Member

Choose a reason for hiding this comment

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

This seems like an additional breaking change? Can we add it to the change log as well? See example #10169 for multiple breaking changes in a single PR

@erezrokah I think this is about how Arrow encodes binary columns.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not really a breaking change because it's an encoding for the session only i.e for the arrow/json format when we insert.

Copy link
Member

Choose a reason for hiding this comment

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

@yevgenypats yevgenypats requested a review from erezrokah April 19, 2023 10:23
@yevgenypats yevgenypats added the automerge Automatically merge once required checks pass label Apr 19, 2023
@kodiakhq kodiakhq bot merged commit 2ab52fa into main Apr 19, 2023
@kodiakhq kodiakhq bot deleted the feat/snowflake_arrow branch April 19, 2023 11:03
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.

feat: Migrate plugin/destination/snowflake to github.com/cloudquery/plugin-sdk/v2

6 participants