clintropolis opened a new pull request, #12429: URL: https://github.com/apache/druid/pull/12429
### Description Fixes a regression caused by #11853 when processing boolean typed inputs for transformation expressions at ingestion time, such as from JSON and other input formats which support them. The changes to how expression types were resolved to make room for `COMPLEX`, resulted in expression input that is of the `Boolean` java type ending up as `COMPLEX` druid type. Now, if these values will be correctly converted to either `STRING` or `LONG` druid types, if `druid.expressions.useStrictBooleans=true`. <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]
