Skip to content

Commit d56986a

Browse files
authored
Update rentsense_former_tenants_to_refined.py
1 parent 81436ea commit d56986a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/jobs/rentsense_former_tenants_to_refined.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -987,13 +987,13 @@ def export_dynamic_frame_as_xml_gzip(
987987
accounts5
988988
.withColumn("rn", F.row_number().over(w))
989989
.filter(F.col("rn") == 1)
990-
.selectExpr(
991-
"AccountReference",
992-
"TenancyEndDate",
993-
"LocalAuthority",
994-
"Patch",
995-
"'Hackney' as Region",
996-
"case when Deceased=1 then 'Y' else 'N' end as Deceased"
990+
.selectExpr(
991+
"AccountReference",
992+
"TenancyEndDate",
993+
"LocalAuthority",
994+
"Patch",
995+
"'Hackney' as Region",
996+
"case when Deceased=1 then 'Y' else 'N' end as Deceased"
997997
)
998998
)
999999
accounts7 = accounts6.filter("AccountReference is not null")

0 commit comments

Comments
 (0)