edited fact_asean_food_security_selected
This commit is contained in:
@@ -421,8 +421,8 @@ class FoodSecurityAggregator:
|
||||
self.logger.info("STEP 1: LOAD DATA from fs_asean_gold")
|
||||
self.logger.info("=" * 70)
|
||||
|
||||
self.df = read_from_bigquery(self.client, "analytical_food_security", layer='gold')
|
||||
self.logger.info(f" analytical_food_security : {len(self.df):,} rows")
|
||||
self.df = read_from_bigquery(self.client, "fact_asean_food_security_selected", layer='gold')
|
||||
self.logger.info(f" fact_asean_food_security_selected : {len(self.df):,} rows")
|
||||
|
||||
self.dims["country"] = read_from_bigquery(self.client, "dim_country", layer='gold')
|
||||
self.dims["indicator"] = read_from_bigquery(self.client, "dim_indicator", layer='gold')
|
||||
@@ -1307,7 +1307,7 @@ class FoodSecurityAggregator:
|
||||
|
||||
def run_aggregation():
|
||||
"""
|
||||
Airflow task: Hitung semua agregasi dari analytical_food_security.
|
||||
Airflow task: Hitung semua agregasi dari fact_asean_food_security_selected.
|
||||
Dipanggil setelah analytical_layer_to_gold selesai.
|
||||
Menjalankan 6 tabel sekaligus: 4 agregasi + 2 narrative.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user