Skip to content

Commit

Permalink
fix for postgres backend
Browse files Browse the repository at this point in the history
  • Loading branch information
aymonwuolanne committed Jan 6, 2025
1 parent dfc2a25 commit 5ccb062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splink/internals/one_to_one_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def one_to_one_clustering(
# might need to quote the value here?
contains_expr = ", ".join(
[
f"max(cast(source_dataset = '{sd}' as int)) as contains_{sd}"
f"max(cast(source_dataset = '{sd}' as int)) > 0 as contains_{sd}"
for sd in source_datasets
]
)
Expand Down

0 comments on commit 5ccb062

Please sign in to comment.