Hello Anubhav Jindal, Abhishek Rawat, Jason Fehr, Wenzhe Zhou, Impala Public 
Jenkins,

I'd like you to reexamine a change. Please visit

    https://gerrit.cloudera.org/25393

to look at the new patch set (#2).

Change subject: IMPALA-14963: Add OpenSearch as an External Data Source
......................................................................

IMPALA-14963: Add OpenSearch as an External Data Source

Adds OPENSEARCH as a supported database.type for external JDBC
tables. OpenSearch SQL needs a few deviations from the generic
accessor: COUNT(*) is pushed down to the index instead of wrapping
the query in a derived table, OFFSET without LIMIT is rejected
rather than silently returning the wrong rows, healthy connections
are returned to the DBCP pool so scans reuse the HTTP and TLS
session, and column names are quoted with backticks. To allow this,
GenericJdbcDatabaseAccessor gains getCountQuery() and
releaseConnection() hooks; behavior for the existing database types
is unchanged.

Testing:
 - Unit tests for the count-query rewrite, LIMIT/OFFSET, connection
   release and URL assembly.
 - End-to-end TestOpenSearchExtJdbcTables, exhaustive only, against
   a dockerized OpenSearch with a keystore-stored password. Skips
   when docker is unavailable.

Change-Id: Ifbd4c0a06e6422f06a8270bf652d91a73a714de7
---
M docs/topics/impala_jdbc_external_table.xml
M fe/src/main/java/org/apache/impala/extdatasource/jdbc/JdbcDataSource.java
M fe/src/main/java/org/apache/impala/extdatasource/jdbc/conf/DatabaseType.java
M 
fe/src/main/java/org/apache/impala/extdatasource/jdbc/dao/DatabaseAccessorFactory.java
M 
fe/src/main/java/org/apache/impala/extdatasource/jdbc/dao/GenericJdbcDatabaseAccessor.java
A 
fe/src/main/java/org/apache/impala/extdatasource/jdbc/dao/OpenSearchDatabaseAccessor.java
A 
fe/src/test/java/org/apache/impala/extdatasource/jdbc/JdbcDataSourceQuoteTest.java
A 
fe/src/test/java/org/apache/impala/extdatasource/jdbc/dao/OpenSearchDatabaseAccessorTest.java
A testdata/bin/clean-opensearch-env.sh
M testdata/bin/copy-ext-data-sources.sh
A testdata/bin/download-opensearch-jdbc-driver.sh
A testdata/bin/setup-opensearch-env.sh
A 
testdata/workloads/functional-query/queries/QueryTest/opensearch-ext-jdbc-tables.test
M tests/custom_cluster/test_ext_data_sources.py
14 files changed, 982 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/25393/2
--
To view, visit https://gerrit.cloudera.org/25393
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifbd4c0a06e6422f06a8270bf652d91a73a714de7
Gerrit-Change-Number: 25393
Gerrit-PatchSet: 2
Gerrit-Owner: Gokul Kolady <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>

Reply via email to