-
Notifications
You must be signed in to change notification settings - Fork 547
feat(oracledb): Upgrade to github.com/cloudquery/plugin-sdk/v2
#10166
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
Conversation
bd859c2 to
4a13f7c
Compare
4a13f7c to
bff6490
Compare
| return v.String() | ||
| } | ||
|
|
||
| func (*Transformer) RecordToCQTypes(table *schema.Table, record arrow.Record) (schema.CQTypes, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just bring back the old GenData for this? this will make the migration simpler for now. once we migrate sources to arrow this would also be gone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| builder.WriteString("CREATE TABLE ") | ||
| builder.WriteString(client.Identifier(table.Name)) | ||
| builder.WriteString(" (\n ") | ||
| pk := make([]string, 0, len(table.PrimaryKeys())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this change if we use the old test data code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes (as the gendata will gen the row data, but we still have the new table schema with multiple PK columns)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update after syncing on Slack. This is needed since we still use a new version of the schema that has multiple PK support
🤖 I have created a release *beep* *boop* --- ## [1.1.0](plugins-source-oracledb-v1.0.0...plugins-source-oracledb-v1.1.0) (2023-04-25) ### Features * **oracledb:** Upgrade to `github.com/cloudquery/plugin-sdk/v2` ([#10166](#10166)) ([96ed31e](96ed31e)), closes [#10165](#10165) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-sdk/v2 to v2.3.8 ([#10213](#10213)) ([f358666](f358666)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v2 to v2.4.0 ([#10278](#10278)) ([a0a713e](a0a713e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Erez Rokah <[email protected]>
Closes #10165