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

Schema Inference Booleans #1884

Open
dyaffe opened this issue Jan 19, 2025 · 0 comments
Open

Schema Inference Booleans #1884

dyaffe opened this issue Jan 19, 2025 · 0 comments

Comments

@dyaffe
Copy link
Member

dyaffe commented Jan 19, 2025

Background
MySQL treats booleans as either a 0 or 1. Our Batch connectors currently use schema inference which interprets data that takes the form of 0 or 1 as an integer.

This is suboptimal because ideally we would know that a boolean field was a boolean and correctly sync it to a destination.

Proposal
If a field only ever takes a value of 0 or 1, it would be ideal for schema inference to classify it as a boolean rather than an integer.

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

No branches or pull requests

1 participant