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
[ ] New functionality includes testing.
[ ] All tests pass, including unit test, integration test and doctest
[ ] New functionality has been documented.
[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added
[x] Commits are signed per the DCO using --signoff
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.
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.