fn stringify_datum<'a, B>(
    buf: &mut B,
    d: Datum<'a>,
    ty: &ScalarType
) -> Result<Nestable, EvalError>where
    B: FormatBuffer,