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: SyncMigrateTableMessage should have the pa.Schema argument named as "table" #13

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

disq
Copy link
Member

@disq disq commented Aug 1, 2023

This is what the proto expects: https://github.com/cloudquery/plugin-pb/blob/main/plugin/v3/plugin.proto#L68

Having this in another name causes confusion with gRPC (and causes the sync from cli to fail).

@disq disq requested a review from yevgenypats August 1, 2023 09:39
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.

What issue did this cause? The fix looks good

@disq
Copy link
Member Author

disq commented Aug 1, 2023

@erezrokah

Error: failed to sync v3 source rpcsrc: unexpected error from sync client receive: rpc error: code = Unknown desc = Exception iterating responses: 'SyncMigrateTableMessage' object has no attribute 'table'

It was on the 'untracable' side (or my Python-blindness) so I had to add a table named arg to SyncMigrateTableMessage.__init__() and print the stack trace every time it's called...

@disq disq merged commit a50f0e7 into main Aug 1, 2023
@disq disq deleted the fix/migrate-param branch August 1, 2023 10:17
@cq-bot cq-bot mentioned this pull request Aug 1, 2023
kodiakhq bot pushed a commit that referenced this pull request Aug 1, 2023
🤖 I have created a release *beep* *boop*
---


## [0.0.8](v0.0.7...v0.0.8) (2023-08-01)


### Bug Fixes

* **deps:** Update dependency numpy to v1.25.2 ([#11](#11)) ([0d05fc8](0d05fc8))
* Fix JSON and UUID type checking, add JSON test, consolidate setup.py ([#14](#14)) ([7927d1a](7927d1a))
* Remove resolver() from schema.Table ([#15](#15)) ([c61a774](c61a774))
* SyncMigrateTableMessage should have the `pa.Schema` argument named as "table" ([#13](#13)) ([a50f0e7](a50f0e7))

---
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants