|
@@ -208,7 +208,6 @@ def load(conn, df: pd.DataFrame, target_db) -> None:
|
|
|
|
|
|
def etl():
|
|
def etl():
|
|
config = load_config('production')
|
|
config = load_config('production')
|
|
- print('config', config)
|
|
|
|
|
|
|
|
target_db = 'bi_bill_detail_'
|
|
target_db = 'bi_bill_detail_'
|
|
|
|
|
|
@@ -242,8 +241,7 @@ def etl():
|
|
|
|
|
|
if debug:
|
|
if debug:
|
|
print(data.head())
|
|
print(data.head())
|
|
- else:
|
|
|
|
- load(conn, data, target_db)
|
|
|
|
|
|
+ load(conn, data, target_db)
|
|
|
|
|
|
|
|
|
|
etl()
|
|
etl()
|