Skip to content

Commit

Permalink
moved shell back to util
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Dec 31, 2024
1 parent 2e559a8 commit b74b707
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmark/job/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from typing import Optional

import click
from gymlib.shell import subprocess_run
from gymlib.symlinks_paths import (
get_tables_dirname,
get_workload_dirname,
Expand All @@ -12,6 +11,7 @@
from gymlib.workspace import DBGymWorkspace, fully_resolve_path

from benchmark.constants import DEFAULT_SCALE_FACTOR
from util.shell import subprocess_run

JOB_TABLES_URL = "https://event.cwi.nl/da/job/imdb.tgz"
JOB_QUERIES_URL = "https://event.cwi.nl/da/job/job.tgz"
Expand Down
2 changes: 1 addition & 1 deletion benchmark/tpch/cli.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging

import click
from gymlib.shell import subprocess_run
from gymlib.symlinks_paths import (
get_scale_factor_string,
get_tables_dirname,
Expand All @@ -15,6 +14,7 @@

from benchmark.constants import DEFAULT_SCALE_FACTOR
from benchmark.tpch.constants import DEFAULT_TPCH_SEED, NUM_TPCH_QUERIES
from util.shell import subprocess_run

TPCH_KIT_DIRNAME = "tpch-kit"

Expand Down
2 changes: 1 addition & 1 deletion dbms/postgres/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import click
import sqlalchemy
from gymlib.pg import create_sqlalchemy_conn, sql_file_execute
from gymlib.shell import subprocess_run
from gymlib.symlinks_paths import (
get_dbdata_tgz_symlink_path,
get_pgbin_symlink_path,
Expand All @@ -32,6 +31,7 @@
from benchmark.job.load_info import JobLoadInfo
from benchmark.tpch.load_info import TpchLoadInfo
from dbms.load_info_base_class import LoadInfoBaseClass
from util.shell import subprocess_run

DBGYM_POSTGRES_USER = "dbgym_user"
DBGYM_POSTGRES_PASS = "dbgym_pass"
Expand Down
2 changes: 1 addition & 1 deletion gymlib_package/gymlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from . import magic, shell, symlinks_paths, workspace
from . import magic, symlinks_paths, workspace
Empty file added util/__init__.py
Empty file.
File renamed without changes.

0 comments on commit b74b707

Please sign in to comment.