xuzifu666 commented on PR #4628:
URL: https://github.com/apache/calcite/pull/4628#issuecomment-3535738694

   > I think that simplify should always preserve the types of the original 
expression. There should even be an assertion for that. But I don't know if 
this was a design consideration initially - maybe simplify is used to remove 
nullability sometimes?
   
   Yes, this may have been the case when the design was first started. It is 
similar to the discussion in Jira. Let the user reported the problem try it, 
and the PR modification should be work.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to