Skip to content

fix: expect_column_values_to_have_consistent_casing correctly dealing with NULL values#28

Open
jvanbuel wants to merge 1 commit intometaplane:mainfrom
jvanbuel:main
Open

fix: expect_column_values_to_have_consistent_casing correctly dealing with NULL values#28
jvanbuel wants to merge 1 commit intometaplane:mainfrom
jvanbuel:main

Conversation

@jvanbuel
Copy link

@jvanbuel jvanbuel commented Aug 7, 2025

Summary of Changes

This PR fixes #27 where NULL values in a column cause the expect_column_values_to_have_consistent_casing to fail for an otherwise consistently cased column.

I've added the change, and updated the tests so that they fail without the fix, and succeed with the fix.

Why Do We Need These Changes

The current implementation fails for columns with consistent casing that contain NULL values. When enabling the display_inconsistent_columns feature of the test, the test succeeds because of the changes in the underlying logic.

Reviewers

@tpoll @gusvargas

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.

[BUG] expect_column_values_to_have_consistent_casing handles NULL values incorrectly

1 participant