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 error when a query field is named "query" #303

Merged
merged 1 commit into from
May 5, 2022

Conversation

seanmacavaney
Copy link
Collaborator

Some datasets have a query field called "query". We need to remove it or we'll end up with multiple "query" columns, which will cause problems because many components are written assuming no columns have the same name.

This only affects a few datasets. I went with irds:clueweb09/catb/trec-web-2009 in the test because it only needs to download the topics file (compared to BEIR, which would need to download an archive that contains the corpus, etc.) Plus, the topic file is mirrored, so we'll probably not encounter issues arising from intermittent network failures.

fixes #302

@cmacdonald cmacdonald added this to the 0.9 milestone May 5, 2022
@cmacdonald
Copy link
Contributor

Nice fast job Sean

@cmacdonald cmacdonald merged commit 943764f into terrier-org:master May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

irds topics variants throughs error
2 participants