ccciudatu opened a new issue, #13829: URL: https://github.com/apache/datafusion/issues/13829
### 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_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org