Skip to content

Commit 8227c5e

Browse files
Proto-X removal (#64)
**Summary**: removed everything related to Proto-X from the codebase. **Details**: * Proto-X is not going away. It's just going to be in its own submodule. * Also removed `tune/demo/`.
1 parent 3b304aa commit 8227c5e

File tree

345 files changed

+52
-23808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

345 files changed

+52
-23808
lines changed

.github/workflows/tests.yaml

-10
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,3 @@ jobs:
5858
. "$HOME/.cargo/env"
5959
export
6060
./scripts/run_integration_tests.sh
61-
62-
# - name: Run end-to-end tests
63-
# # End-to-end tests are like integration tests in that they require external systems to be running.
64-
# # Unlike integration tests though, they don't perform detailed checks for any individual module.
65-
# #
66-
# # Note that we need to run with a non-root user in order to start Postgres. This is configured in the .yaml
67-
# # file for our self-hosted GHA runners.
68-
# run: |
69-
# . "$HOME/.cargo/env"
70-
# python -m scripts.run_protox_e2e_test ssd

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ The tasks are grouped into categories that correspond to the top-level directori
4747

4848
- `benchmark` - tasks to generate data and queries for different benchmarks (e.g., TPC-H, JOB)
4949
- `dbms` - tasks to build and start DBMSs (e.g., PostgreSQL)
50-
- `tune` - tasks to train autonomous database tuning agents
5150

5251
## Credits
5352

analyze/__init__.py

Whitespace-only changes.

analyze/cli.py

-79
This file was deleted.

analyze/tests/__init__.py

Whitespace-only changes.
Binary file not shown.

analyze/tests/unittest_analyze.py

-31
This file was deleted.

benchmark/job/load_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ def get_table_file_delimiter(self) -> str:
7474

7575
def get_constraints_fpath(self) -> Optional[Path]:
7676
# JOB does not have any constraints. It does have indexes, but we don't want to create
77-
# those indexes so that Proto-X can start from a clean slate.
77+
# those indexes so that the tuning agent can start from a clean slate.
7878
return None

dbms/load_info_base_class.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ class LoadInfoBaseClass:
1010
"""
1111

1212
def get_schema_fpath(self) -> Path:
13-
raise NotImplemented
13+
raise NotImplementedError
1414

1515
def get_tables_and_fpaths(self) -> list[tuple[str, Path]]:
16-
raise NotImplemented
16+
raise NotImplementedError
1717

1818
# We assume the table file has a "csv-like" format where values are separated by a delimiter.
1919
def get_table_file_delimiter(self) -> str:
20-
raise NotImplemented
20+
raise NotImplementedError
2121

2222
# If the subclassing benchmark does not have constraints, you can return None here.
2323
# Constraints are also indexes.
2424
def get_constraints_fpath(self) -> Optional[Path]:
25-
raise NotImplemented
25+
raise NotImplementedError

dbms/postgres/cli.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
"""
22
At a high level, this file's goal is to (1) build postgres and (2) create dbdata (aka pgdata).
3-
On the other hand, the goal of tune.protox.env.util.postgres is to provide helpers to manage
4-
a Postgres instance during agent tuning.
5-
util.pg provides helpers used by *both* of the above files (as well as other files).
63
"""
74

85
import logging

experiments/protox_tpch_sf0point1/main.sh

-33
This file was deleted.

experiments/protox_tpch_sf1/main.sh

-27
This file was deleted.

experiments/protox_tpch_sf10/main.sh

-31
This file was deleted.

scripts/_run_tests.py

-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
import sys
33
import unittest
44

5-
# See comment in the base task.py file for why we do this.
6-
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
7-
import tensorflow
8-
9-
del os.environ["TF_CPP_MIN_LOG_LEVEL"]
10-
115
if __name__ == "__main__":
126
loader = unittest.TestLoader()
137
suite = loader.discover(".", pattern=sys.argv[1])

scripts/configs/apt_requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ rpm
66
zlib1g-dev
77
cbindgen
88
redis-server
9-
redis-tools
9+
redis-tools

0 commit comments

Comments
 (0)