Skip to content

bug: Fix supported types for Bool type casts#3506

Closed
coderfender wants to merge 2 commits intoapache:mainfrom
coderfender:fix_cast_supported_boolean_to_utf8
Closed

bug: Fix supported types for Bool type casts#3506
coderfender wants to merge 2 commits intoapache:mainfrom
coderfender:fix_cast_supported_boolean_to_utf8

Conversation

@coderfender
Copy link
Contributor

@coderfender coderfender commented Feb 12, 2026

Which issue does this PR close?

Breaking down bug fixes from : #3491 into a separate PR

Essentially we have the matches macro which supports bool to string cast but the can_cast_to_boolean' doesnt. Given that the latter is only called on nested type casts, this was an edge case whose occurrence was not prevalent and the bug prevailed. This test is to fix that bug and ensure consistency all over

Closes #3509 .

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@coderfender coderfender changed the title bug: Fix supported types bug for Bool type casts bug: Fix supported types for Bool type casts Feb 13, 2026
@coderfender
Copy link
Contributor Author

@andygrove please take a look whenever you get a chance

@andygrove
Copy link
Member

@andygrove please take a look whenever you get a chance

Could you add a test that demonstrates the bug that the code change is intended to fix?

@coderfender
Copy link
Contributor Author

Sure let me go ahead and add a test. Thank you for the quick review

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.

cast from boolean function missing support to string (DF compatible)

2 participants