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

Method CheckInferred

cpp/src/arrow/csv/column_builder_test.cc:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void CheckInferred(const std::shared_ptr<TaskGroup>& tg, const ChunkData& csv_data,
79 const ConvertOptions& options,
80 std::shared_ptr<ChunkedArray> expected, bool validate_full = true) {
81 std::shared_ptr<ColumnBuilder> builder;
82 std::shared_ptr<ChunkedArray> actual;
83 ASSERT_OK_AND_ASSIGN(
84 builder, ColumnBuilder::Make(default_memory_pool(), 0, MakeOptions(options), tg));
85 AssertBuilding(builder, csv_data, validate_full, &actual);
86 AssertChunkedEqual(*actual, *expected);
87 }
88
89 void CheckInferred(const std::shared_ptr<TaskGroup>& tg, const ChunkData& csv_data,
90 const ConvertOptions& options,

Callers

nothing calls this directly

Calls 6

default_memory_poolFunction · 0.85
MakeOptionsFunction · 0.85
AssertBuildingFunction · 0.85
AssertChunkedEqualFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.70
MakeFunction · 0.50

Tested by

no test coverage detected