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

Function ExampleSmallint

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

Source from the content-addressed store, hash-verified

1036}
1037
1038std::shared_ptr<Array> ExampleSmallint() {
1039 auto arr = arrow::ArrayFromJSON(int16(), "[-32768, null, 1, 2, 3, 4, 32767]");
1040 return ExtensionType::WrapArray(smallint(), arr);
1041}
1042
1043std::shared_ptr<Array> ExampleTinyint() {
1044 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