fn cell_from_token(token: &str, col: &SqlColumnType) -> Result<Cell>Expand description
Type a raw row-value token against its column into an owned Cell.
The bare token null is SQL NULL (only in a nullable column); quote it
("null") for the literal string. Numeric and boolean tokens go through
mz_repr::strconv — the canonical PostgreSQL-compatible text parser the rest
of the codebase uses — so the accepted syntax matches mz_pgrepr’s text decode.
string/bytes columns take the (unquoted) token verbatim; bytes is its
UTF-8 encoding.