Skip to content

Bug fix for TypeCompatibilityChecker to ignore ExtenedTypes#8994

Merged
fulghum merged 1 commit intomainfrom
fulghum/extended_types
Mar 17, 2025
Merged

Bug fix for TypeCompatibilityChecker to ignore ExtenedTypes#8994
fulghum merged 1 commit intomainfrom
fulghum/extended_types

Conversation

@fulghum
Copy link
Copy Markdown
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
Copy Markdown
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