Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for splink 4.0.4 #37

Merged
merged 8 commits into from
Oct 14, 2024
Merged

Fix for splink 4.0.4 #37

merged 8 commits into from
Oct 14, 2024

Conversation

ADBond
Copy link
Owner

@ADBond ADBond commented Oct 14, 2024

Newest version of Splink introduced some changes to clustering SQL queries that are not directly compatible with Clickhouse's dialect.

The underlying cause seems to be the same kind of column-name-resolution rules in multi-joins that cause issues with term-frequency adjustments (see #31).

Probably any robust fix requires upstream changes, but for now something that works is string-replacing to manually add aliasing to the offending query. However this is not a good long-term solution (and probably doesn't even qualify as a 'good' short-term solution).

This solution doesn't affect earlier Splink versions so we don't need to bump the minimum version yet.

Also included is a skip of test that fails due to a Splink issue - we can unskip once there is a Splink version containing the fix for that available.

Latest update to Splink clustering introduced ambiguities on Clickhouse side, so for now we just manually add necessary aliasing
Avoids new unrelated upstream issue, which will come in Splink 4.0.5
@ADBond ADBond added bug Something isn't working dependencies labels Oct 14, 2024
@ADBond ADBond merged commit 9593e3d into main Oct 14, 2024
15 checks passed
@ADBond ADBond deleted the bug/compat/fix-for-splink404 branch October 14, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant