OpenSearch/x-pack/plugin/sql
Marios Trivyzas 0963e78164 SQL: Fix issue with common type resolution (#46565)
Many scalar functions try to find out the common type between their
arguments in order to set it as their return time, e.g.:
for `float + double` the common type which is set as the return type
of the + operation is `double`.

Previously, for data types TEXT and KEYWORD (string data types) there
was no common data type found and null was returned causing NPEs when
the function was trying to resolve the return data type.

Fixes: #46551
(cherry picked from commit 291017d69dfc810707c3c7c692f5a50af431b790)
2019-09-11 19:10:15 +03:00
..
jdbc Geo: Change order of parameter in Geometries to lon, lat 7.x (#45618) 2019-08-16 14:42:02 -04:00
qa Use `null` schema response for `SYS TABLES` command. (#46386) 2019-09-07 09:24:54 +03:00
sql-action Update joda to 2.10.3 (#45495) 2019-08-23 10:39:39 +02:00
sql-cli Add missing dependencies so we can build in parallel (#43672) 2019-06-28 16:41:18 +03:00
sql-client SQL: fix URI path being lost in case of hosted ES scenario (#44776) 2019-07-25 10:27:51 +03:00
sql-proto [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
src SQL: Fix issue with common type resolution (#46565) 2019-09-11 19:10:15 +03:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00