pub fn build_relation(
parts: &[ResolvedPartition],
columns: Option<&[&str]>,
) -> Result<Connection, TesseraError>Expand description
Build an in-memory DuckDB connection with a tessera view over the
resolved partitions.
A day-backed partition (the open month) reads all of its day objects as one
leaf. For multi-partition reads each leaf is unioned with a coin and
month column identifying the source partition. Query it with
SELECT ... FROM tessera.
ยงErrors
Returns TesseraError::Network when the connection or view creation fails.