ektravel commented on code in PR #14734: URL: https://github.com/apache/druid/pull/14734#discussion_r1286274250
########## docs/querying/math-expr.md: ########## @@ -321,14 +319,7 @@ For the "and" operator: Druid currently still retains implicit conversion of `LONG`, `DOUBLE`, and `STRING` types into boolean values in both modes: * `LONG` or `DOUBLE` - any value greater than 0 is considered `true`, else `false` -* `STRING` - the value `'true'` (case insensitive) is considered `true`, everything else is `false`. - -Legacy behavior: -* `100 && 11` -> `11` -* `0.7 || 0.3` -> `0.3` -* `100 && 0` -> `0` -* `'troo' && 'true'` -> `'troo'` -* `'troo' || 'true'` -> `'true'` +* `STRING` - the value `'true'` (case insensitive) is considered `true`, everything else is `false`. Review Comment: ```suggestion * `STRING`: the value `'true'` (case insensitive) is considered `true`, everything else is `false`. ``` -- 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]
