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-us-census] fix empty fields after sync #45331

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

topefolorunso
Copy link
Collaborator

What

Fixes the empty records returned by syncing from the source

How

Defining the schema depending on the query_params config

Review guide

User Impact

Records will now be synced.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Sep 7, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 1:32pm

@topefolorunso topefolorunso linked an issue Sep 7, 2024 that may be closed by this pull request
1 task
@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/us-census labels Sep 7, 2024
@topefolorunso topefolorunso changed the title fix schema [source-us-census] fix empty fields after sync Sep 7, 2024
@topefolorunso
Copy link
Collaborator Author

topefolorunso commented Sep 7, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (d235722)


config: Config

def get_json_schema(self) -> Mapping[str, Any]:
Copy link
Contributor

Choose a reason for hiding this comment

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

@topefolorunso can you add some unit tests to verify this works as expected?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tests added now @girarda

@topefolorunso
Copy link
Collaborator Author

topefolorunso commented Sep 9, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (82d5645)

@natikgadzhi natikgadzhi enabled auto-merge (squash) September 11, 2024 19:42
@natikgadzhi natikgadzhi merged commit 19335d6 into master Sep 11, 2024
34 checks passed
@natikgadzhi natikgadzhi deleted the tope/us-census/fix-empty-fields branch September 11, 2024 19:43
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/us-census
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[source-us-census] doesn't return any fields
4 participants