Closed leoeaton closed 5 years ago
Thanks for your report. We used a script to automatically extract schema info for each database. I am sure why this happens. I already recorded your findings [here(https://github.com/taoyds/spider/issues/24). We will correct the tables.json file in the next release. Please comment under that issue thread if you find more errors.
There are composite key sets in some tables according to the *.sql file. For example, in college_2 database, the 6th line in the file TextBookExample.sql says "primary key (building, room_number)", which indicate building and room_number are composite key of this table. However, in the tables.json, building is annotated as the only primary key of the table. I notice there are also some other databases where such issue exists.