use table_spec