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

🐛 Source Shopify: Fixed bug when start date was not provided, but the stream was using it #35952

Merged
merged 6 commits into from Mar 11, 2024

Conversation

bazarnov
Copy link
Collaborator

@bazarnov bazarnov commented Mar 11, 2024

What

Resolving:

How

  • added additional checks for the start date value and fallback to the default_start_date value of 2018-01-01, if the start_date was not provided in the config
  • added config migration to gracefully migrate the configs with no / bad start_date values
  • covered the case with unit_test

Copy link

vercel bot commented Mar 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2024 2:34pm

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Mar 11, 2024
@bazarnov bazarnov self-assigned this Mar 11, 2024
@bazarnov bazarnov requested a review from a team March 11, 2024 13:04
@bazarnov bazarnov marked this pull request as ready for review March 11, 2024 13:05
@artem1205
Copy link
Collaborator

Do we need to add start_date property to required list?

# but if the customer has already switched to the new version,
# corrected the old config and switches back to the new version,
# we should try to migrate the modified old custom reports.
none_values: List[str] = [None, "None"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be a tuple? Sorry

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, but what is wrong having the List here?

@bazarnov bazarnov merged commit 3791a43 into master Mar 11, 2024
34 checks passed
@bazarnov bazarnov deleted the baz/source/shopify/fix-no-start-date branch March 11, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/shopify
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

6 participants