Skip to content

Bug fix for TypeCompatibilityChecker to ignore ExtenedTypes #8994

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

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

fulghum
Copy link
Contributor

@fulghum fulghum commented Mar 17, 2025

The following query caused a panic in Doltgres, because DoltTable was using TypeCompatibilityChecker to test if the column type change was compatible. TypeCompatibilityChecker wasn't able to handle the ExtendedType instance and panic'ed. This change makes TypeCompatibilityChecker ignore extended types, since it doesn't know enough about them to determine if a type change is compatible or not.

@fulghum fulghum force-pushed the fulghum/extended_types branch from cb1f006 to 52de437 Compare March 17, 2025 19:39
@fulghum fulghum force-pushed the fulghum/extended_types branch from 52de437 to 18edfef Compare March 17, 2025 19:48
@coffeegoddd
Copy link
Contributor

@fulghum DOLT

comparing_percentages
100.000000 to 100.000000
version result total
18edfef ok 5937457
version total_tests
18edfef 5937457
correctness_percentage
100.0

@fulghum fulghum merged commit 15ac87c into main Mar 17, 2025
21 of 22 checks passed
@fulghum fulghum deleted the fulghum/extended_types branch March 17, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants