You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A physical plan that contains scalar functions will always set the nullable flag to true after deserialization.
To Reproduce
The coalesce function results in a non-nullable field. However, if the plan is serialized and deserialized, the same field will be nullable.
A test to showcase exactly this will be included in the upcoming PR.
Expected behavior
The plan schema should stay the same after a roundtrip.
Additional context
No response
The text was updated successfully, but these errors were encountered:
findepi
changed the title
ScalarFunctionExpr does not preserve the nullable flag on roundtrip
ScalarFunctionExpr does not preserve the nullable flag on serialization roundtrip
Dec 19, 2024
Describe the bug
A physical plan that contains scalar functions will always set the nullable flag to
true
after deserialization.To Reproduce
The
coalesce
function results in a non-nullable field. However, if the plan is serialized and deserialized, the same field will be nullable.A test to showcase exactly this will be included in the upcoming PR.
Expected behavior
The plan schema should stay the same after a roundtrip.
Additional context
No response
The text was updated successfully, but these errors were encountered: