Skip to content

Commit 27983ae

Browse files
committed
NRL-1320 Exit if df is null
1 parent 5f087e2 commit 27983ae

File tree

1 file changed

+1
-1
lines changed
  • terraform/account-wide-infrastructure/modules/glue/src

1 file changed

+1
-1
lines changed

terraform/account-wide-infrastructure/modules/glue/src/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def load(self, data):
9191
self.logger.info(f"Loading data into {self.target_path} as Parquet")
9292
for name, dataframe in data.items():
9393
if not dataframe:
94-
return None
94+
continue
9595
name = name.replace("--", "_")
9696
dataframe.write.mode("append").partitionBy(*self.partition_cols).parquet(
9797
f"{self.target_path}{name}"

0 commit comments

Comments
 (0)