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

Function CheckFetchInvalid

cpp/src/arrow/acero/fetch_node_test.cc:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void CheckFetchInvalid(FetchNodeOptions options, const std::string& message) {
67 std::shared_ptr<Table> input = TestTable();
68 Declaration plan = Declaration::Sequence(
69 {{"table_source", TableSourceNodeOptions(input)}, {"fetch", options}});
70 EXPECT_RAISES_WITH_MESSAGE_THAT(Invalid, testing::HasSubstr(message),
71 DeclarationToStatus(std::move(plan)));
72}
73
74TEST(FetchNode, Basic) {
75 CheckFetch({0, 20});

Callers 1

TESTFunction · 0.85

Calls 3

TableSourceNodeOptionsFunction · 0.85
DeclarationToStatusFunction · 0.85
TestTableFunction · 0.70

Tested by

no test coverage detected