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

fix: Cast treats nullable and non-nullable columns in the same way #1037

Conversation

nj1973
Copy link
Contributor

@nj1973 nj1973 commented Nov 8, 2023

This was spun off from issue #990.

Previously we were seeing a cast of string to string being bypassed because it is the same type but !string to string being retained in the final SQL.

With this commit both will bypass the cast.

@nj1973 nj1973 requested a review from a team as a code owner November 8, 2023 15:05
@nj1973 nj1973 linked an issue Nov 8, 2023 that may be closed by this pull request
@nj1973
Copy link
Contributor Author

nj1973 commented Nov 8, 2023

/gcbrun

Copy link
Collaborator

@nehanene15 nehanene15 left a comment

Choose a reason for hiding this comment

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

LGTM!

@nj1973 nj1973 merged commit 5e5c5eb into develop Nov 10, 2023
5 checks passed
@nj1973 nj1973 deleted the fix/1036-inconsistency-between-nullable-and-non-nullable-columns branch November 10, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

row validation: Inconsistency between nullable and non-nullable columns
2 participants