Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix for splink 4.0.4#37

Merged
ADBond merged 8 commits into
mainfrom
bug/compat/fix-for-splink404
Oct 14, 2024
Merged

Fix for splink 4.0.4#37
ADBond merged 8 commits into
mainfrom
bug/compat/fix-for-splink404

Conversation

@ADBond
Copy link
Copy Markdown
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.

ADBond added 6 commits October 7, 2024 15:29
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
@ADBond ADBond deleted the bug/compat/fix-for-splink404 branch October 14, 2024 14:18
@ADBond ADBond mentioned this pull request Dec 12, 2024
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