OpenSearch/x-pack/plugin/sql
Marios Trivyzas e698e68f06 SQL: Allow whitespaces in escape patterns (#47577)
Previously, we supported only the format `{fn <FUNCTION_NAME>()}`
but other DBs like MSSQL, DB2, MariaDB/MySQL alos allow whitespaces
between `{` and `fn`. Furhermore, also some applications - like PowerBI -
generate escape sequences with spaces: `select { fn name(params) } etc.`

Add support for white spaces between `{` and the escape pattern definition
like `fn`, `ts`, `d`, `guid` etc.

Closes: #47401

(cherry picked from commit 08a22d0b393f4a76c52dabc5e7b9cafcc19c30ca)
2019-10-07 15:05:02 +02:00
..
jdbc SQL: Add support for shape type (#46464) 2019-09-26 09:47:42 -04:00
qa SQL: fix multi full-text functions usage with aggregate functions (#47444) 2019-10-04 16:27:22 +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 Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
src SQL: Allow whitespaces in escape patterns (#47577) 2019-10-07 15:05:02 +02:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00