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/2089 support sets for pyarrow backend #2090

Merged

Conversation

karakanb
Copy link
Contributor

@karakanb karakanb commented Nov 23, 2024

Description

This PR fixes the issue with mysql set fields on pyarrow backend.

Related Issues

Open Questions

There's also a similar issue with using sqlalchemy backend, it requires a custom type adapter callback function to be useful. should it be handled properly inside dlt by default? I couldn't find a common sqltype to represent dicts, happy to fix it if you have any recommendations on how to fix it.

Copy link

netlify bot commented Nov 23, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 816b7d3
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/67421d4f6706170008b6eebb
😎 Deploy Preview https://deploy-preview-2090--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@karakanb karakanb force-pushed the fix/2089-support-sets-for-pyarrow-backend branch from a9930a1 to 816b7d3 Compare November 23, 2024 18:22
@rudolfix
Copy link
Collaborator

@karakanb LGTM! do you have any tests for that in your code base? does it solve your problem? we do not have MySQL test setup for the sql source (only for the destination).

@karakanb
Copy link
Contributor Author

karakanb commented Nov 25, 2024

I only have integration tests in ingestr, unfortunately no unit tests that might cover this. I have manually tested this and it solved the problem.

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for the fix

@rudolfix rudolfix merged commit 6f146d1 into dlt-hub:devel Nov 27, 2024
54 of 59 checks passed
@burnash burnash mentioned this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyArrow backend cannot handle MySQL set type
4 participants