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

Method SetUp

cpp/src/arrow/array/array_run_end_test.cc:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 std::shared_ptr<Array> run_end_only_null;
59
60 void SetUp() override {
61 run_end_type = GetParam();
62
63 string_values = ArrayFromJSON(utf8(), R"(["Hello", "World", null])");
64 int32_values = ArrayFromJSON(int32(), "[10, 20, 30]");
65 int16_values = ArrayFromJSON(int16(), "[10, 20, 30]");
66 run_end_values = ArrayFromJSON(run_end_type, "[10, 20, 30]");
67 run_end_only_null = ArrayFromJSON(run_end_type, "[null, null, null]");
68 }
69
70 std::shared_ptr<RunEndEncodedArray> RunEndEncodedArrayFromJSON(
71 int64_t logical_length, std::shared_ptr<DataType> value_type,

Callers

nothing calls this directly

Calls 1

ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected