clintropolis opened a new pull request, #15909: URL: https://github.com/apache/druid/pull/15909
### Description Fixes an issue of the SQL return type inference of `PARSE_LONG`, which was incorrectly using cascade nullable when instead it is always nullable (such as a non-null input string not being able to be parsed into a number). This becomes problematic when used in a filter involving nulls as the planner would incorrectly optimize it to always true/false depending on is null/ not null. <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met. - [x] been tested in a test Druid cluster. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
