mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
Move the JDBC functionality integration tests from `:sql:qa` to a separate module `:sql:qa:jdbc`. This way the tests are isolated from the rest of the integration tests and they only depend to the `:sql:jdbc` module, thus removing the danger of accidentally pulling in some dependency that may hide bugs. Moreover this is a preparation for #56722, so that we can run those tests between different JDBC and ES node versions and ensure forward compatibility. Move the rest of existing tests inside a new `:sql:qa:server` project, so that the `:sql:qa` becomes the parent project for both and one can run all the integration tests by using this parent project. (cherry picked from commit c09f4a04484b8a43934fe58fbc41bd90b7dbcc76)
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
[role="xpack"]
|
|
[testenv="basic"]
|
|
[[xpack-sql]]
|
|
= SQL access
|
|
|
|
:sql-tests: {xes-repo-dir}/../../plugin/sql/qa/
|
|
:sql-specs: {sql-tests}server/src/main/resources/
|
|
:jdbc-tests: {sql-tests}jdbc/src/main/java/org/elasticsearch/xpack/sql/qa/jdbc
|
|
:security-tests: {sql-tests}server/security/src/test/java/org/elasticsearch/xpack/sql/qa/security
|
|
:es-sql: Elasticsearch SQL
|
|
|
|
[partintro]
|
|
--
|
|
|
|
X-Pack includes a SQL feature to execute SQL queries against {es}
|
|
indices and return results in tabular format.
|
|
|
|
The following chapters aim to cover everything from usage, to syntax and drivers.
|
|
Experience users or those in a hurry might want to jump directly to
|
|
the list of SQL <<sql-commands, commands>> and <<sql-functions, functions>>.
|
|
|
|
<<sql-overview, Overview>>::
|
|
Overview of {es-sql} and its features.
|
|
<<sql-getting-started, Getting Started>>::
|
|
Start using SQL right away in {es}.
|
|
<<sql-concepts, Concepts and Terminology>>::
|
|
Language conventions across SQL and {es}.
|
|
<<sql-security,Security>>::
|
|
Secure {es-sql} and {es}.
|
|
<<sql-rest,REST API>>::
|
|
Execute SQL in JSON format over REST.
|
|
<<sql-translate,Translate API>>::
|
|
Translate SQL in JSON format to {es} native query.
|
|
<<sql-cli,CLI>>::
|
|
Command-line application for executing SQL against {es}.
|
|
<<sql-jdbc,JDBC>>::
|
|
JDBC driver for {es}.
|
|
<<sql-odbc,ODBC>>::
|
|
ODBC driver for {es}.
|
|
<<sql-client-apps,Client Applications>>::
|
|
Setup various SQL/BI tools with {es-sql}.
|
|
<<sql-spec,SQL Language>>::
|
|
Overview of the {es-sql} language, such as supported data types, commands and
|
|
syntax.
|
|
<<sql-functions,Functions and Operators>>::
|
|
List of functions and operators supported.
|
|
<<sql-limitations,Limitations>>::
|
|
{es-sql} current limitations.
|
|
--
|
|
|
|
include::overview.asciidoc[]
|
|
include::getting-started.asciidoc[]
|
|
include::concepts.asciidoc[]
|
|
include::security.asciidoc[]
|
|
include::endpoints/index.asciidoc[]
|
|
include::language/index.asciidoc[]
|
|
include::functions/index.asciidoc[]
|
|
include::appendix/index.asciidoc[]
|
|
include::limitations.asciidoc[]
|
|
|
|
:jdbc-tests!:
|