raw and staging data
This commit is contained in:
@@ -77,7 +77,7 @@ def log_update(client: bigquery.Client, layer: str, table_name: str,
|
||||
job.result()
|
||||
|
||||
except Exception as e:
|
||||
print(f" Warning: Failed to write etl_logs [STAGING]: {e}")
|
||||
print(f" Warning: Failed to write etl_logs [AUDIT]: {e}")
|
||||
|
||||
|
||||
def load_to_bigquery(client: bigquery.Client, df: pd.DataFrame,
|
||||
@@ -223,4 +223,4 @@ def save_etl_metadata(client: bigquery.Client, metadata: dict):
|
||||
print(f"etl_metadata — first run | created_at : {created_at}")
|
||||
else:
|
||||
print(f"etl_metadata — preserved | created_at : {created_at}")
|
||||
print(f"etl_metadata — updated_at : {current_time}")
|
||||
print(f"etl_metadata — updated_at : {current_time}")
|
||||
Reference in New Issue
Block a user