druid/sql
Gian Merlino 338da67bc6
Add type coercion and null check to left, right, repeat exprs. (#16480)
* Add type coercion and null check to left, right, repeat exprs.

These exprs shouldn't validate types; they should coerce types. Coercion
is typical behavior for functions because it enables schema evolution.

The functions are also modified to check isNumericNull on the right-hand
argument. This was missing previously, which would erroneously cause
nulls to be treated as zeroes.

* Fix tests.
2024-08-21 15:07:24 -07:00
..
src Add type coercion and null check to left, right, repeat exprs. (#16480) 2024-08-21 15:07:24 -07:00
pom.xml Upgrade calcite to 1.37.0 (#16504) 2024-06-13 08:47:50 +02:00