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

Function ExampleSmallint

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

Source from the content-addressed store, hash-verified

1067}
1068
1069std::shared_ptr<Array> ExampleSmallint() {
1070 auto arr = arrow::ArrayFromJSON(int16(), "[-32768, null, 1, 2, 3, 4, 32767]");
1071 return ExtensionType::WrapArray(smallint(), arr);
1072}
1073
1074std::shared_ptr<Array> ExampleTinyint() {
1075 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