Skip to content
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

fix: Flatten tables in plugin server getTables call #41

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

hermanschaaf
Copy link
Member

Same as the Go implementation, the table list should be flattened before sending it over the wire: https://github.com/cloudquery/plugin-sdk/blob/main/schema/table.go#L204

@hermanschaaf hermanschaaf added the automerge Add to automerge PRs once requirements are met label Aug 14, 2023
@kodiakhq kodiakhq bot merged commit 37b7bf2 into main Aug 14, 2023
5 checks passed
@kodiakhq kodiakhq bot deleted the flatten-arrow-schemas branch August 14, 2023 10:46
kodiakhq bot pushed a commit to cloudquery/plugin-sdk-java that referenced this pull request Aug 21, 2023
We need to flatten tables in the `getTables` call otherwise relations will not be migrated in `cloudquery migrate` (see cloudquery/plugin-sdk-python#41)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants