Skip to content

Conversation

@candiduslynx
Copy link
Contributor

Closes #10165

@candiduslynx candiduslynx added the automerge Automatically merge once required checks pass label Apr 18, 2023
@candiduslynx candiduslynx requested a review from erezrokah April 18, 2023 12:37
@candiduslynx candiduslynx self-assigned this Apr 18, 2023
@candiduslynx candiduslynx requested a review from a team April 18, 2023 12:37
@candiduslynx candiduslynx force-pushed the feat/oracledb/plugin-sdk-v2 branch 2 times, most recently from bd859c2 to 4a13f7c Compare April 19, 2023 10:15
@candiduslynx candiduslynx force-pushed the feat/oracledb/plugin-sdk-v2 branch from 4a13f7c to bff6490 Compare April 19, 2023 10:15
return v.String()
}

func (*Transformer) RecordToCQTypes(table *schema.Table, record arrow.Record) (schema.CQTypes, error) {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kodiakhq kodiakhq bot merged commit 96ed31e into main Apr 20, 2023
@kodiakhq kodiakhq bot deleted the feat/oracledb/plugin-sdk-v2 branch April 20, 2023 09:02
builder.WriteString("CREATE TABLE ")
builder.WriteString(client.Identifier(table.Name))
builder.WriteString(" (\n ")
pk := make([]string, 0, len(table.PrimaryKeys()))
Copy link
Member

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?

Copy link
Contributor Author

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)

Copy link
Member

@erezrokah erezrokah Apr 20, 2023

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

erezrokah added a commit that referenced this pull request Apr 25, 2023
🤖 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]>
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/source/oracledb to github.com/cloudquery/plugin-sdk/v2

4 participants