Workflow saved

This commit is contained in:
unknown
2025-08-28 11:07:20 +00:00
parent 0a844e08a1
commit 6722686188
3 changed files with 12 additions and 12 deletions

View File

@@ -266,9 +266,9 @@ for _gs in _grouping_specs:
_partials.append(_gdf)
high_valued_payments_df = reduce(lambda a, b: a.unionByName(b), _partials)
high_valued_payments___df = reduce(lambda a, b: a.unionByName(b), _partials)
high_valued_payments_df.createOrReplaceTempView('high_valued_payments_df')
high_valued_payments___df.createOrReplaceTempView('high_valued_payments___df')
@@ -431,7 +431,7 @@ spark.sql(_merge_query)
print(total_payments_and_total_value_processed_df.columns)
print(most_used_payment_method___df.columns)
print(high_valued_payments_df.columns)
print(high_valued_payments___df.columns)
print(total_failed_payments___df.columns)
success_payment_metrics_df = spark.sql("""
@@ -447,7 +447,7 @@ FULL OUTER JOIN total_payments_and_total_value_processed_df a
ON a.payment_date = d.payment_date
LEFT JOIN most_used_payment_method___df b
ON a.payment_date = b.payment_date
LEFT JOIN high_valued_payments_df c
LEFT JOIN high_valued_payments___df c
ON a.payment_date = c.payment_date
""")