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

Function Safe

cpp/src/arrow/compute/cast.h:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48 static constexpr const char kTypeName[] = "CastOptions";
49 static CastOptions Safe(TypeHolder to_type = {}) {
50 CastOptions safe(true);
51 safe.to_type = std::move(to_type);
52 return safe;
53 }
54
55 static CastOptions Unsafe(TypeHolder to_type = {}) {
56 CastOptions unsafe(false);

Callers 15

CopyIntoMethod · 0.85
ReadNextMethod · 0.85
PromoteTableToSchemaFunction · 0.85
ConvertKeyMethod · 0.85
TakeRowsMethod · 0.85
TestSchemaResolutionFunction · 0.85
BindNonRecursiveFunction · 0.85
cast.hFile · 0.85
TESTFunction · 0.85
castFunction · 0.85

Calls

no outgoing calls

Tested by 10

TestSchemaResolutionFunction · 0.68
TESTFunction · 0.68
castFunction · 0.68
TESTFunction · 0.68
ValidateTakeXAImplFunction · 0.68
CheckCastZeroCopyFunction · 0.68
TESTFunction · 0.68
CheckFSLToFSLFunction · 0.68
ExpectedFromIfElseFunction · 0.68