OpenSearch/x-pack/plugin/sql
Costin Leau 68f74cf593
EQL: Fix custom scripting for functions (#53935) (#54114)
Improve separation of scripting between EQL and SQL by delegating common
methods to QL. The context detection is determined based on the package
to avoid having repetitive class hierarchies.
The Painless whitelists have been improved so that the declaring class
is used instead of the inherited one.

Relates #53688

(cherry picked from commit 6d46033e736c64ac9255c5d6964600d2a931430a)

EQL: Add Substring function with Python semantics (#53688)

Does not reuse substring from SQL due to the difference in semantics and
the accepted arguments.
Currently it is missing full integration tests as, due to the usage of
scripting, requires an actual integration test against a proper cluster
(and likely its own QA project).

(cherry picked from commit f58680bad33d5ce4139157a69a4d9f5f286bc3c4)
2020-03-24 20:54:19 +02:00
..
jdbc SQL: jdbc debugging enhancement (#53880) (#54081) 2020-03-24 16:09:53 +02:00
qa EQL: Fix custom scripting for functions (#53935) (#54114) 2020-03-24 20:54:19 +02:00
sql-action Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
sql-cli SQL: transfer version compatibility decision to the server (#53082) (#53302) 2020-03-09 21:16:57 +01:00
sql-client Clean up eclipse build (backport of #53831) (#53870) 2020-03-20 12:12:05 -04:00
sql-proto Upgrade jackson to 2.10.3 and GeoIP to 2.13.1 (#53642) 2020-03-17 10:28:51 -07:00
src EQL: Fix custom scripting for functions (#53935) (#54114) 2020-03-24 20:54:19 +02:00
build.gradle QL: Backport project to 7.x (#51497) 2020-01-27 22:03:58 +02:00