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

Function ExampleSmallint

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

Source from the content-addressed store, hash-verified

1028}
1029
1030std::shared_ptr<Array> ExampleSmallint() {
1031 auto arr = arrow::ArrayFromJSON(int16(), "[-32768, null, 1, 2, 3, 4, 32767]");
1032 return ExtensionType::WrapArray(smallint(), arr);
1033}
1034
1035std::shared_ptr<Array> ExampleTinyint() {
1036 auto arr = arrow::ArrayFromJSON(int8(), "[-128, null, 1, 2, 3, 4, 127]");

Callers 1

TEST_FFunction · 0.85

Calls 2

ArrayFromJSONFunction · 0.85
smallintFunction · 0.85

Tested by

no test coverage detected