Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove NoSQL databases #915

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/check_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 33,10 @@ def verify_all_dbs(name_to_files: dict[str:List[str]]):
cwd = os.getcwd()
print("Current working directory: {0}".format(cwd))
name_to_files: dict[str:List[str]] = dict()
name_to_files["ArangoDB"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "arangodb"))
name_to_files["Citus"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "citus"))
name_to_files["ClickHouse"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "clickhouse"))
name_to_files["CnosDB"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "cnosdb"))
name_to_files["CockroachDB"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "cockroachdb"))
name_to_files["Cosmos"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "cosmos"))
name_to_files["Databend"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "databend"))
name_to_files["DuckDB"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "duckdb"))
name_to_files["H2"] = get_java_files(os.path.join(cwd, "src", "sqlancer", "h2"))
Expand Down
6 changes: 0 additions & 6 deletions src/sqlancer/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 23,20 @@
import com.beust.jcommander.JCommander;
import com.beust.jcommander.JCommander.Builder;

import sqlancer.arangodb.ArangoDBProvider;
import sqlancer.citus.CitusProvider;
import sqlancer.clickhouse.ClickHouseProvider;
import sqlancer.cnosdb.CnosDBProvider;
import sqlancer.cockroachdb.CockroachDBProvider;
import sqlancer.common.log.Loggable;
import sqlancer.common.query.Query;
import sqlancer.common.query.SQLancerResultSet;
import sqlancer.cosmos.CosmosProvider;
import sqlancer.databend.DatabendProvider;
import sqlancer.doris.DorisProvider;
import sqlancer.duckdb.DuckDBProvider;
import sqlancer.h2.H2Provider;
import sqlancer.hsqldb.HSQLDBProvider;
import sqlancer.mariadb.MariaDBProvider;
import sqlancer.materialize.MaterializeProvider;
import sqlancer.mongodb.MongoDBProvider;
import sqlancer.mysql.MySQLProvider;
import sqlancer.oceanbase.OceanBaseProvider;
import sqlancer.postgres.PostgresProvider;
Expand Down Expand Up @@ -732,20 729,17 @@ private static void checkForIssue799(List<DatabaseProvider<?, ?, ?>> providers)
if (providers.isEmpty()) {
System.err.println(
"No DBMS implementations (i.e., instantiations of the DatabaseProvider class) were found. You likely ran into an issue described in https://github.com/sqlancer/sqlancer/issues/799. As a workaround, I now statically load all supported providers as of June 7, 2023.");
providers.add(new ArangoDBProvider());
providers.add(new CitusProvider());
providers.add(new ClickHouseProvider());
providers.add(new CnosDBProvider());
providers.add(new CockroachDBProvider());
providers.add(new CosmosProvider());
providers.add(new DatabendProvider());
providers.add(new DorisProvider());
providers.add(new DuckDBProvider());
providers.add(new H2Provider());
providers.add(new HSQLDBProvider());
providers.add(new MariaDBProvider());
providers.add(new MaterializeProvider());
providers.add(new MongoDBProvider());
providers.add(new MySQLProvider());
providers.add(new OceanBaseProvider());
providers.add(new PrestoProvider());
Expand Down
73 changes: 0 additions & 73 deletions src/sqlancer/arangodb/ArangoDBComparatorHelper.java

This file was deleted.

31 changes: 0 additions & 31 deletions src/sqlancer/arangodb/ArangoDBConnection.java

This file was deleted.

40 changes: 0 additions & 40 deletions src/sqlancer/arangodb/ArangoDBLoggableFactory.java

This file was deleted.

50 changes: 0 additions & 50 deletions src/sqlancer/arangodb/ArangoDBOptions.java

This file was deleted.

137 changes: 0 additions & 137 deletions src/sqlancer/arangodb/ArangoDBProvider.java

This file was deleted.

Loading
Loading