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

Function ExampleUuid

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

Source from the content-addressed store, hash-verified

1029}
1030
1031std::shared_ptr<Array> ExampleUuid() {
1032 auto arr = arrow::ArrayFromJSON(
1033 fixed_size_binary(16),
1034 "[null, \"abcdefghijklmno0\", \"abcdefghijklmno1\", \"abcdefghijklmno2\"]");
1035 return ExtensionType::WrapArray(uuid(), arr);
1036}
1037
1038std::shared_ptr<Array> ExampleSmallint() {
1039 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