taoyds / spider

scripts and baselines for Spider: Yale complex and cross-domain semantic parsing and text-to-SQL challenge
https://yale-lily.github.io/spider
Apache License 2.0
848 stars 193 forks source link

Some databases without schema.sql #27

Closed wanglijiehit closed 5 years ago

wanglijiehit commented 5 years ago

Hi, Tao

These DBs (twitter_1, chinook_1, world_1, small_bank_1, flight_4, icfp_1, epinions_1, voter_1, company_1) miss "schema.sql" file, and these DBs (eta_1, flight_2, car_1, wine_1, inn_1, student_1, formula_1) with empty sql files.

Do all DBs have "schema.sql" files for test set?

taoyds commented 5 years ago

A schema.sql was used when we were trying to import data from multiple csv files. It is not necessary to have schema.sql files (including for the test set). You should be to output schema files from DBs if you still want to have them.