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

[bugfix] ScalarFunctionExpr does not preserve the nullable flag on roundtrip #13830

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ccciudatu
Copy link

Which issue does this PR close?

Closes #13829.

Rationale for this change

Preserve the nullable flag for scalar functions after a ser/deser roundtrip.

What changes are included in this PR?

  • a test to showcase the bug
  • the fix, consisting in adding the nullable field in the proto file and using it to propagate the flag on serialization.

Are these changes tested?

The first commit is a test that fails and the subsequent commits make it pass.

Are there any user-facing changes?

No

@github-actions github-actions bot added the proto Related to proto crate label Dec 18, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @ccciudatu -- this looks like a good fix and good test coverage to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proto Related to proto crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ScalarFunctionExpr does not preserve the nullable flag on roundtrip
2 participants