Skip to content

Commit

Permalink
[Backport 2.x] Delete Spark datasource (#2638) (#2667)
Browse files Browse the repository at this point in the history
* Delete Spark datasource (#2638)

* Delete Spark datasource

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix build error

Signed-off-by: Tomoyuki Morita <[email protected]>

* Delete spark_connector.rst

Signed-off-by: Tomoyuki Morita <[email protected]>

* Add missing test

Signed-off-by: Tomoyuki Morita <[email protected]>

---------

Signed-off-by: Tomoyuki Morita <[email protected]>
(cherry picked from commit de7b367)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fix test failure in DefaultSparkSqlFunctionResponseHandleTest

Signed-off-by: Tomoyuki Morita <[email protected]>

* Reformat

Signed-off-by: Tomoyuki Morita <[email protected]>

---------

Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ykmr1224 and github-actions[bot] authored May 13, 2024
1 parent 5413096 commit 8a9d38c
Show file tree
Hide file tree
Showing 28 changed files with 205 additions and 1,921 deletions.
92 changes: 0 additions & 92 deletions docs/user/ppl/admin/connectors/spark_connector.rst

This file was deleted.

2 changes: 0 additions & 2 deletions plugin/src/main/java/org/opensearch/sql/plugin/SQLPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
import org.opensearch.sql.spark.execution.statestore.StateStore;
import org.opensearch.sql.spark.flint.FlintIndexMetadataServiceImpl;
import org.opensearch.sql.spark.rest.RestAsyncQueryManagementAction;
import org.opensearch.sql.spark.storage.SparkStorageFactory;
import org.opensearch.sql.spark.transport.TransportCancelAsyncQueryRequestAction;
import org.opensearch.sql.spark.transport.TransportCreateAsyncQueryRequestAction;
import org.opensearch.sql.spark.transport.TransportGetAsyncQueryResultAction;
Expand Down Expand Up @@ -285,7 +284,6 @@ private DataSourceServiceImpl createDataSourceService() {
new OpenSearchDataSourceFactory(
new OpenSearchNodeClient(this.client), pluginSettings))
.add(new PrometheusStorageFactory(pluginSettings))
.add(new SparkStorageFactory(this.client, pluginSettings))
.add(new GlueDataSourceFactory(pluginSettings))
.build(),
dataSourceMetadataStorage,
Expand Down
125 changes: 0 additions & 125 deletions spark/src/main/java/org/opensearch/sql/spark/client/EmrClientImpl.java

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8a9d38c

Please sign in to comment.