pub fn plan(sql: &str) -> Result<Plan, SqlError>Expand description
Plan a whole SQL file: DDL becomes declarations, each CREATE VIEW
becomes an entry saying whether it can be served and by what.
Errors only on the schema itself — a file whose DDL does not parse has no plan. A view that cannot be served comes back as an entry.