In the oracle_sql db from the spider-lite-sqlite benchmark, there is an erroneous view - main.emp_hire_periods_with_name . It fails at _fetchall_dicts for the whole database because JOIN pragma_table_xinfo(m.name) fails for "emp_hire_periods_with_name". How about separate inspection of the views' and tables' schemas?