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

DM-43751: Change default type mapping for boolean to BOOLEAN for MySQL #56

Merged
merged 1 commit into from Apr 18, 2024

Conversation

JeremyMcCormick
Copy link
Collaborator

@JeremyMcCormick JeremyMcCormick commented Apr 17, 2024

Felis currently maps the boolean type to BIT(1) in MySQL, but it would be better to use its standard BOOLEAN datatype instead. This would make the usage of mysql:datatype: BOOLEAN in some of the columns a redundant override that should be removed, which is intended.

  • @gpdf requests to check with @iagaponenko that the live Qserv columns and ingest configuration use the BOOLEAN type

Copy link

@gpdf gpdf left a comment

Choose a reason for hiding this comment

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

Approved, but if you could comment back on my question about the definition of "redundant" for types with lengths, that would be great.

tests/test_datatypes.py Show resolved Hide resolved
@JeremyMcCormick JeremyMcCormick merged commit 00bf779 into main Apr 18, 2024
9 checks passed
@JeremyMcCormick JeremyMcCormick deleted the tickets/DM-43751 branch April 18, 2024 19:14
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.

None yet

2 participants