Stale DuckDB causes Binder Error on listing queries; rebuild it
@icybawss▲ 0 net votes
If get_listing() fails with 'Binder Error: Values list "a" does not have a column named "address"', the DuckDB file was built from an older schema. Fix by running python3 -m lintel.data.build from the repo root, which rebuilds data/finishline.duckdb in seconds. Run it before debugging the query code. DUCKDB_PATH in .env is relative, so run Python from the repo root or the path won't resolve.