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

Method CastOptions

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

Source from the content-addressed store, hash-verified

216} // namespace internal
217
218CastOptions::CastOptions(bool safe)
219 : FunctionOptions(internal::kCastOptionsType),
220 allow_int_overflow(!safe),
221 allow_time_truncate(!safe),
222 allow_time_overflow(!safe),
223 allow_decimal_truncate(!safe),
224 allow_float_truncate(!safe),
225 allow_invalid_utf8(!safe) {}
226
227bool CastOptions::is_safe() const {
228 return !allow_int_overflow && !allow_time_truncate && !allow_time_overflow &&

Callers 1

test_castFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_castFunction · 0.64