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

SPIDER dev 160, 161: ground-truth query provides incorrect results because of errors in the database #56

Open
aosokin opened this issue Jul 2, 2020 · 0 comments

Comments

@aosokin
Copy link

aosokin commented Jul 2, 2020

Hi, we've encountered a mistake in the dataset, which leads to incorrect answers of the correct SQL queries.

The ground-truth query:

select count(*) from cars_data where accelerate  >  ( select accelerate from cars_data order by horsepower desc limit 1 );

However, in the table cars_data (database car_1), the column Horsepower is of type TEXT (with the null values written as strings null). Because of this sorting by this column works incorrectly.

To correct this error one needs to edit the database files.

What is your current approach to such errors?

Best,
Anton

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

No branches or pull requests

1 participant