MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / cast_string_to_int64

Function cast_string_to_int64

src/expr/src/scalar/func/impls/string.rs:103–105  ·  view source on GitHub ↗
(a: &'a str)

Source from the content-addressed store, hash-verified

101 inverse = to_unary!(super::CastInt64ToString)
102)]
103fn cast_string_to_int64<'a>(a: &'a str) -> Result<i64, EvalError> {
104 strconv::parse_int64(a).err_into()
105}
106
107#[sqlfunc(
108 sqlname = "text_to_real",

Callers

nothing calls this directly

Calls 2

parse_int64Function · 0.85
err_intoMethod · 0.80

Tested by

no test coverage detected