-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Google Sheets Destination flushes on every state message and flush when buffer gets too large #14751
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
Google Sheets Destination flushes on every state message and flush when buffer gets too large #14751
Conversation
/test connector=connectors/destination-google_sheets
Build FailedTest summary info:
|
/test connector=connectors/destination-google-sheets
Build FailedTest summary info:
|
Note for the future - the directory structure doesn't match the gradle names #14751 (comment) |
The test failures are realy about permissions:
@sherifnada or @bazarnov: any tips to running these tests? |
What exactly should match? |
Looks like it didn't recognise the |
/test connector=connectors/destination-google-sheets
Build PassedTest summary info:
|
...e-integrations/connectors/destination-google-sheets/destination_google_sheets/destination.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/buffer.py
Outdated
Show resolved
Hide resolved
Thanks for fixing the test @bazarnov, but I don't quite understand your logical change |
There was no change), I've simply updated the |
/test connector=connectors/destination-google-sheets
Build PassedTest summary info:
|
@sherifnada @evantahler |
/test connector=connectors/destination-google-sheets
Build PassedTest summary info:
|
That's great @bazarnov! If you review this PR, I'll get it published. |
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.
thanks to you both!
airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/writer.py
Show resolved
Hide resolved
…ination_google_sheets/writer.py Co-authored-by: Sherif A. Nada <[email protected]>
/publish connector=connectors/destination-google-sheets
if you have connectors that successfully published but failed definition generation, follow step 4 here |
Closes #14748
This PR flushes any pending RECORD writes to the Google Sheet whenever the destination sees a STATE message. This fixes a broken spec implementation and should lead to lower memory consumption as well.