File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 3636import os
3737
3838from 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
4842from check import check_json_summary_folder , get_abs_path
4943from nds_schema import get_maintenance_schemas
Original file line number Diff line number Diff line change 3939import shlex
4040from collections import OrderedDict
4141from 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
5143from pyspark .sql import DataFrame
5244
5345from check import check_json_summary_folder , check_query_subset_exists , check_version
You can’t perform that action at this time.
0 commit comments