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

input_table_aliases order os lables #2490

Open
1 of 2 tasks
mjdias opened this issue Nov 1, 2024 · 0 comments
Open
1 of 2 tasks

input_table_aliases order os lables #2490

mjdias opened this issue Nov 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mjdias
Copy link

mjdias commented Nov 1, 2024

What happens?

Apparently, the Linker object's input_table_aliases parameter does not respect the provided order of the list used as alias input. It seems that some logic that is not transparent to the user places the aliases in alphabetical order, and may change the order placed by the user. This may assign a wrong alias to the tables inserted in the input_table_or_tables field.

To Reproduce

linker = Linker(
input_table_or_tables=[tab1,tab2 ],
input_table_aliases=['z_tab1','a_tab2'],
settings=basic_settings,
db_api=DuckDBAPI(),
)

OS:

Windows 11

Splink version:

4.0.0

Have you tried this on the latest master branch?

  • I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • I agree
@mjdias mjdias added the bug Something isn't working label Nov 1, 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
Projects
None yet
Development

No branches or pull requests

1 participant