-
Hi, I would like to express a blocking rule that verifies that a token in the left expression is found in the right expression. For example Kind regards |
Beta Was this translation helpful? Give feedback.
Answered by
adelinor
Feb 17, 2023
Replies: 2 comments 6 replies
-
Thanks to @NickCrews 's answer on #1053 and also the codes samples from the Splink in Databricks - Expert Answer.py, I am able to answer myself:
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
adelinor
-
Great! I’ll be in touch next week.
Eric
From: Adelino Rodrigues ***@***.***>
Sent: Friday, February 24, 2023 2:40 AM
To: moj-analytical-services/splink ***@***.***>
Cc: Eric Ellsworth ***@***.***>; Comment ***@***.***>
Subject: Re: [moj-analytical-services/splink] Expressing blocking rule where token in left is present in right or vice versa (Discussion #1032)
EXTERNAL EMAIL - This email originated from outside our organization. Be cautious of links and attachments.
If you're interested in collaborating please message me.
Sure I would love to.
—
Reply to this email directly, view it on GitHub<#1032 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APDMNRAFD4L6W6OYS5UWMZDWZBQWXANCNFSM6AAAAAAUT54TLY>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to @NickCrews 's answer on #1053 and also the codes samples from the Splink in Databricks - Expert Answer.py, I am able to answer myself:
names_array
(list_unique(l.names_array) + list_unique(r.names_array) - list_unique(list_concat(l.names_array, r.names_array)) > 0)