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: Use .mappings() in cursor, to get rows as mappings #309

Merged
merged 7 commits into from
Dec 12, 2023

Conversation

edgarrmondragon
Copy link
Member

@edgarrmondragon edgarrmondragon commented Dec 8, 2023

This was fixed upstream in meltano/sdk#1487, but this tap overrides get_records.

I think meltano/sdk#2094 is the only difference between the two implementations?

UPDATE: Using the private ._mapping attribute makes me nervous so I opened meltano/sdk#2095 and updated this PR.

@edgarrmondragon edgarrmondragon marked this pull request as ready for review December 8, 2023 02:17
@edgarrmondragon edgarrmondragon enabled auto-merge (squash) December 8, 2023 18:40
@edgarrmondragon edgarrmondragon changed the title fix: Use ._mapping attribute to get row dictionary fix: Use .mapping().all() to get rows as mappings Dec 8, 2023
@edgarrmondragon edgarrmondragon changed the title fix: Use .mapping().all() to get rows as mappings fix: Use .mapping().all() in cursor, to get rows as mappings Dec 8, 2023
@edgarrmondragon edgarrmondragon enabled auto-merge (squash) December 8, 2023 19:10
@edgarrmondragon edgarrmondragon changed the title fix: Use .mapping().all() in cursor, to get rows as mappings fix: Use .mapping() in cursor, to get rows as mappings Dec 8, 2023
@edgarrmondragon edgarrmondragon changed the title fix: Use .mapping() in cursor, to get rows as mappings fix: Use .mappings() in cursor, to get rows as mappings Dec 8, 2023
@edgarrmondragon edgarrmondragon merged commit eebcf85 into main Dec 12, 2023
5 checks passed
@edgarrmondragon edgarrmondragon deleted the edgar/fix/convert-row-mapping-attr-dict branch December 12, 2023 16:07
@visch
Copy link
Member

visch commented Dec 16, 2023

Good stuff @edgarrmondragon :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants