Skip to content

AnalysisException: cannot resolve 'l.unique_id' #1099

Answered by RossKen
Mehul903 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Mehul903

I think you are missing the unique_id_column_name parameter in your settings object. It defaults to unique_id so I think it should work if you change your settings object to:

settings = {
    "link_type": "dedupe_only",
    "unique_id_column_name": "id"
    "comparisons": [
        cl.jaro_winkler_at_thresholds("firstName", 0.8),
        cl.jaro_winkler_at_thresholds("lastName", 0.8)
    ],
    "retain_matching_columns": True,
    "retain_intermediate_calculation_columns": True,
    "em_convergence": 0.01,
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mehul903
Comment options

Answer selected by RobinL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants