Expand description
Single values.
A Value is one SQL value, boxed up on its own. It is what a literal parses into, what a
constant folds to, and what a result set is read out as one cell at a time. It is deliberately
not what execution runs on: spec/07-execution.md says the unit of data is a vector of 1024,
and an operator that touches a Value per row is an operator that has already lost.
The formatting here is DuckDB’s, because a shell that prints 2024-01-15 where DuckDB prints
2024-01-15 is a shell whose output can be diffed against DuckDB’s in tamnd/rudb-compat.
Enums§
- Value
- A single SQL value.
Functions§
- civil_
from_ days - Days since the epoch to the civil date, by Howard Hinnant’s algorithm.
- days_
from_ civil - The civil date to days since the epoch, the inverse of
civil_from_days.