jayzhan211 commented on issue #11274: URL: https://github.com/apache/datafusion/issues/11274#issuecomment-2211569477
Another thing to note that is the `nullability` of the function is different from the final result but the information for optimizer. We can still tell optimizer that the function is always non-null and do the optimization based on this information. We can still get `null` as the final result as no row qualifies, so we get the empty plan which is null value. https://github.com/apache/datafusion/pull/11093#issuecomment-2188857213 -- 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 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