opensearch-project / sql-odbc

OpenSearchODBC is a read-only ODBC driver for Windows and Mac for connecting to OpenSearch SQL support.
Apache License 2.0
7 stars 17 forks source link

Update `SHOW TABLES` query. #48

Closed Yury-Fridlyand closed 1 year ago

Yury-Fridlyand commented 1 year ago

Description

SHOW TABLES LIKE % query was used to verify the connection. As of https://github.com/opensearch-project/sql/pull/1181, query syntax changed in V2. This query was falling back to V1 SQL plugin engine, which would be deprecated once upon a time. Updating this query in ODBC driver ensures that SQL plugin would properly respond to it.

Issues Resolved

N/A

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.