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

Method JSON

cpp/src/arrow/compute/kernels/vector_run_end_encode_test.cc:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51 public:
52 static REETestData JSON(std::shared_ptr<DataType> data_type, std::string input_json,
53 std::string expected_values_json,
54 std::string expected_run_ends_json, int64_t input_offset = 0) {
55 auto input_array = ArrayFromJSON(data_type, input_json);
56 return SingleArray(input_offset ? input_array->Slice(input_offset) : input_array,
57 ArrayFromJSON(data_type, expected_values_json),
58 std::move(expected_run_ends_json), std::move(input_json));
59 }
60
61 static REETestData NullArray(int64_t input_length, int64_t input_offset = 0) {
62 auto input_array = std::make_shared<arrow::NullArray>(input_length);

Callers

nothing calls this directly

Calls 2

ArrayFromJSONFunction · 0.85
SliceMethod · 0.45

Tested by

no test coverage detected