diff --git a/clickhouse_task/check_table.py b/clickhouse_task/check_table.py deleted file mode 100644 index 9772235..0000000 --- a/clickhouse_task/check_table.py +++ /dev/null @@ -1,15 +0,0 @@ - -import polars as pl -from clickhouse_connect.driver import * -from log import log - -exists = client.command( - "EXISTS TABLE Attendance" -) - -print(exists - - -exists = client.command( - "EXISTS TABLE Attendance" - ) \ No newline at end of file diff --git a/tables.yml b/tables.yml deleted file mode 100644 index 9111820..0000000 --- a/tables.yml +++ /dev/null @@ -1,126 +0,0 @@ -tables: - - name: SOS_OneApp - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: OQaD - type: FACT - operation: INSERT - fetch_by: run_date - condition: none - - - name: Survey - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: additional_visibility - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: Coverage - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: Login - type: FACT - operation: INSERT - fetch_by: run_date - condition: none - - - name: Stock_Details - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: Attendance - type: FACT - operation: DELETE+INSERT - fetch_by: run_date - condition: none - - - name: Store_Master - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: SKU_Master - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: display_master - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: Employee_Master - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: Journey_Plan - type: FACT - operation: INSERT - fetch_by: run_date - condition: j_plan - - - name: coverage_remarks - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: mapping_storevisibility - type: BRIDGE - operation: INSERT - fetch_by: run_date - condition: mapping - - - name: Master_VisibilityReason - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: Master_VisibilityDefinition - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none - - - name: Web_Logins - type: FACT - operation: INSERT - fetch_by: run_date - condition: web - - - name: Promotion - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: PaidVisibility - type: FACT - operation: INSERT - fetch_by: mids - condition: mids - - - name: Master_Salesterritorylayer - type: DIMENSION - operation: DELETE+INSERT - fetch_by: none - condition: none \ No newline at end of file