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

Function CheckPrimitive

cpp/src/arrow/pretty_print_test.cc:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template <typename TYPE, typename C_TYPE>
83void CheckPrimitive(const std::shared_ptr<DataType>& type,
84 const PrettyPrintOptions& options, const std::vector<bool>& is_valid,
85 const std::vector<C_TYPE>& values, std::string_view expected,
86 bool check_operator = true) {
87 std::shared_ptr<Array> array;
88 ArrayFromVector<TYPE, C_TYPE>(type, is_valid, values, &array);
89 CheckArray(*array, options, expected, check_operator);
90}
91
92template <typename TYPE, typename C_TYPE>
93void CheckPrimitive(const PrettyPrintOptions& options, const std::vector<bool>& is_valid,

Callers

nothing calls this directly

Calls 2

CheckArrayFunction · 0.85
type_singletonFunction · 0.70

Tested by

no test coverage detected