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.
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.