-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
Elasticsearch version: master @ 65dbc17
With TYPE argument now working (as a fix for https://github.com/elastic/x-pack-elasticsearch/issues/4335), there are these two follow-up issues that have emerged:
- some applications use
TABLEas filter (like Microsoft Query:'TABLE','VIEW','SYNONYM'). This will not matchBASE TABLEand the result is empty. My proposal would be to make the two -BASE TABLEandTABLE- interchangeable for this query (even though they aren't, technically), unless we do actually differentiate between these two concepts. - The ODBC spec mandates that the
TYPEparameter, ifnot an empty string, [it] must contain a list of comma-separated values for the types of interest; each value can be enclosed in single quotation marks (') or unquoted, for example, 'TABLE', 'VIEW' or TABLE, VIEW.. Current ES/SQL implementation will accept the quoted list, but won't accept the unquoted format. I haven't yet encountered apps that make use of the unquoted format. The fix for this could obviously be implemented in the driver too -- up for discussion.