14-06-2026 3rd commit
This commit is contained in:
@@ -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"
|
|
||||||
)
|
|
||||||
-126
@@ -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
|
|
||||||
Reference in New Issue
Block a user