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

Function ExampleUuid

cpp/src/arrow/testing/gtest_util.cc:1023–1028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021}
1022
1023std::shared_ptr<Array> ExampleUuid() {
1024 auto arr = arrow::ArrayFromJSON(
1025 fixed_size_binary(16),
1026 "[null, \"abcdefghijklmno0\", \"abcdefghijklmno1\", \"abcdefghijklmno2\"]");
1027 return ExtensionType::WrapArray(uuid(), arr);
1028}
1029
1030std::shared_ptr<Array> ExampleSmallint() {
1031 auto arr = arrow::ArrayFromJSON(int16(), "[-32768, null, 1, 2, 3, 4, 32767]");

Callers 4

TEST_FFunction · 0.85
TESTFunction · 0.85
MakeExtensionBatchFunction · 0.85
TESTFunction · 0.85

Calls 3

ArrayFromJSONFunction · 0.85
fixed_size_binaryFunction · 0.85
uuidFunction · 0.70

Tested by

no test coverage detected