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
812 stars 193 forks source link

get schema method #94

Open chuangchuang-wang opened 1 year ago

chuangchuang-wang commented 1 year ago

I use two methods to obtain schema information, one is to read from table.json, and the other is to use sqlalchemy to read directly from the database. But the test results I obtained are different. Using table.json will be higher. What is the difference between these two schema acquisition methods? Which one is officially recommended?