Skip to content

Commit c39c168

Browse files
committed
adding missing return
1 parent b865d75 commit c39c168

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bronze/get_full_tables.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def add_date_partition_columns(df: DataFrame,column_name:str) -> DataFrame:
4949
df = df.withColumn("year", F.year(F.col(column_name)))\
5050
.withColumn("month", F.month(F.col(column_name)))\
5151
.withColumn("day",F.day(column_name))
52+
return df
5253

5354
def main() -> None:
5455
MYSQL_DATABASE = get_required_env("MYSQL_DATABASE")

0 commit comments

Comments
 (0)