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

Method AssertNoAugmentedFields

cpp/src/arrow/dataset/scanner_test.cc:982–989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980 }
981
982 void AssertNoAugmentedFields(std::shared_ptr<Scanner> scanner) {
983 ASSERT_OK_AND_ASSIGN(auto table, scanner.get()->ToTable());
984 auto columns = table.get()->ColumnNames();
985 EXPECT_TRUE(std::none_of(columns.begin(), columns.end(), [](std::string& x) {
986 return x == "__fragment_index" || x == "__batch_index" ||
987 x == "__last_in_fragment" || x == "__filename";
988 }));
989 }
990
991 void AssertScanBatchesUnorderedEqualRepetitionsOf(
992 std::shared_ptr<Scanner> scanner, std::shared_ptr<RecordBatch> batch,

Callers

nothing calls this directly

Calls 4

ColumnNamesMethod · 0.45
getMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected