MCPcopy Create free account
hub / github.com/apache/arrow / is_safe

Method is_safe

cpp/src/arrow/compute/cast.cc:227–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 allow_invalid_utf8(!safe) {}
226
227bool CastOptions::is_safe() const {
228 return !allow_int_overflow && !allow_time_truncate && !allow_time_overflow &&
229 !allow_decimal_truncate && !allow_float_truncate && !allow_invalid_utf8;
230}
231
232bool CastOptions::is_unsafe() const {
233 return allow_int_overflow && allow_time_truncate && allow_time_overflow &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected