-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Google Sheets: add row_id to rows and use as primary key #19215
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
@mdibaiee thanks for your contribution. I'm one of the Airbyte maintainers and will take a look and review your PR. |
/test connector=connectors/source-google-sheets
Build PassedTest summary info:
|
/publish connector=connectors/source-google-sheets run-tests=false
if you have connectors that successfully published but failed definition generation, follow step 4 here |
@koconder Not sure how you reviewed the code... Why did we jump from |
@koconder @mdibaiee i'm experiencing issues now on version |
Created discussion here: https://discuss.airbyte.io/t/google-sheets-0-2-30-missing-rows/3237 |
@danieldiamond we are rolling this back as we speak. |
@koconder please add regression tests. |
@danieldiamond agree we need better tests to catch this. I have flagged with the team. Sorry for the inconvenience caused, we will be more diligent with such changes in future. |
@danieldiamond I don't see how this change would cause the connector to "pull half the rows", unless it used to pull duplicate documents (two for each row) and now that it knows the primary key it's only pulling them once. With that said, I don't know what the test is doing so I don't have all the context. |
* source-google-sheets: add row_id to rows and use as primary key * Update Dockerfile * Update google-sheets.md * Update Dockerfile * Update google-sheets.md * auto-bump connector version Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Octavia Squidington III <[email protected]>
What
Google Sheets connector does not have a primary key and there is no information on the row_id (changes to a row are not easily distinguishable)
How
Recommended reading order
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py
airbyte-integrations/connectors/source-google-sheets/google_sheets_source/helpers.py
🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
Not sure if addition of a new data field is considered a breaking change, it might be.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereTests
Unit
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.