OpenSearch/x-pack/plugin
Marios Trivyzas 3f7cae3f0d
SQL: Implement GREATEST and LEAST functions (#35879)
Add GREATEST(expr1, expr2, ... exprN) and LEAST(expr1, expr2, exprN)
functions which are in the family of CONDITIONAL functions.

Implementation follows PostgreSQL behaviour, so the functions return
`NULL` when all of their arguments evaluate to `NULL`.

Renamed `CoalescePipe` and `CoalesceProcessor` to `ConditionalPipe` and
`ConditionalProcessor` respectively, to be able to reuse them for
`Greatest` and `Least` evaluations. To achieve that `ConditionalOperation`
has been added to differentiate between the functionalities at execution
time.

Closes: #35878
2018-11-26 18:21:36 +01:00
..
ccr Avoid NPE in follower stats when no tasks metadata (#35802) 2018-11-21 19:16:28 -05:00
core SQL: XPack FeatureSet functionality (#35725) 2018-11-26 07:11:43 +02:00
deprecation Remove build qualifier from server's Version (#35172) 2018-11-07 14:01:05 +02:00
graph Build: Pull "skip assemble on qa" to common build (#35214) 2018-11-05 16:16:00 -05:00
ilm Auto skip license headers on no source (#35640) 2018-11-20 13:02:33 +02:00
logstash Core: Replace deprecated Loggers calls with LogManager. (#34691) 2018-10-29 15:52:30 -04:00
ml Removes two unused AnalysisConfig options (#35645) 2018-11-19 08:29:53 -06:00
monitoring Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
rollup [Rollup] Add `wait_for_completion` option to StopRollupJob API (#34811) 2018-11-13 16:37:17 -05:00
security Move XContent generation to HasPrivilegesResponse (#35616) 2018-11-21 14:33:10 +11:00
sql SQL: Implement GREATEST and LEAST functions (#35879) 2018-11-26 18:21:36 +01:00
src/test [TEST] Ensure job does not trigger 2018-11-21 18:18:00 -05:00
upgrade Refactor: Remove settings from transport action CTOR (#35208) 2018-11-05 13:08:18 +01:00
watcher Mute CronEvalToolTests.testEnsureDateIsShownInRootLocale 2018-11-19 09:35:29 +00:00
build.gradle Allow Integ Tests to run in a FIPS-140 JVM (#31989) 2018-07-24 12:48:14 +03:00