Skip to content

Commit 4ab62ba

Browse files
Changes to test with symlinks
1 parent 8373105 commit 4ab62ba

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

nds/nds_maintenance.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,8 @@
3636
import os
3737

3838
from pyspark.sql import SparkSession
39-
parent_dir = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '..'))
4039

41-
# Construct the path to the utils directory
42-
utils_dir = os.path.join(parent_dir, 'utils')
43-
# Add the utils directory to sys.path
44-
sys.path.insert(0, utils_dir)
45-
46-
from python_benchmark_reporter.PysparkBenchReport import PysparkBenchReport
40+
from PysparkBenchReport import PysparkBenchReport
4741

4842
from check import check_json_summary_folder, get_abs_path
4943
from nds_schema import get_maintenance_schemas

nds/nds_power.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,7 @@
3939
import shlex
4040
from collections import OrderedDict
4141
from pyspark.sql import SparkSession
42-
43-
parent_dir = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '..'))
44-
45-
# Construct the path to the utils directory
46-
utils_dir = os.path.join(parent_dir, 'utils')
47-
# Add the utils directory to sys.path
48-
sys.path.insert(0, utils_dir)
49-
50-
from python_benchmark_reporter.PysparkBenchReport import PysparkBenchReport
42+
from PysparkBenchReport import PysparkBenchReport
5143
from pyspark.sql import DataFrame
5244

5345
from check import check_json_summary_folder, check_query_subset_exists, check_version

0 commit comments

Comments
 (0)