import os, sys
currentDirectory = os.path.dirname(os.path.realpath(__file__))
directoryOneLevelAbove = os.path.dirname(currentDirectory)
sys.path.append(directoryOneLevelAbove)
directoryTwoLevelsAbove = os.path.dirname(directoryOneLevelAbove)
sys.path.append(directoryTwoLevelsAbove)
directoryThreeLevelsAbove = os.path.dirname(directoryTwoLevelsAbove)
sys.path.append(directoryThreeLevelsAbove)
from helper import environment

import importlib
run_dq_rules_on_table_after_source_aligning_module = importlib.import_module("common.ingest.07_run_technical_dq_rules_on_table")
run_dq_rules_on_table_after_source_aligning_method = getattr(run_dq_rules_on_table_after_source_aligning_module, "execute")

run_dq_rules_on_table_after_source_aligning_method('SAMPLE_EXCEL_WITH_ONE_SHEET', environment.database_schema_name, "sample_excel_with_one_sheet_example_1_raw")