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

Function AssertRankEmpty

cpp/src/arrow/compute/kernels/vector_sort_test.cc:2285–2292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2283 }
2284
2285 static void AssertRankEmpty(std::shared_ptr<DataType> type, SortOrder order,
2286 NullPlacement null_placement,
2287 RankOptions::Tiebreaker tiebreaker) {
2288 AssertRank({ArrayFromJSON(type, "[]")}, order, null_placement, tiebreaker,
2289 ArrayFromJSON(uint64(), "[]"));
2290 AssertRank({ArrayFromJSON(type, "[null]")}, order, null_placement, tiebreaker,
2291 ArrayFromJSON(uint64(), "[1]"));
2292 }
2293
2294 void AssertRankSimple(NullPlacement null_placement,
2295 RankOptions::Tiebreaker tiebreaker) const {

Callers 1

TEST_FFunction · 0.85

Calls 2

AssertRankFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected