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

Function AssertRankEmpty

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

Source from the content-addressed store, hash-verified

2397 }
2398
2399 static void AssertRankEmpty(std::shared_ptr<DataType> type, SortOrder order,
2400 NullPlacement null_placement,
2401 RankOptions::Tiebreaker tiebreaker) {
2402 AssertRank({ArrayFromJSON(type, "[]")}, order, null_placement, tiebreaker,
2403 ArrayFromJSON(uint64(), "[]"));
2404 AssertRank({ArrayFromJSON(type, "[null]")}, order, null_placement, tiebreaker,
2405 ArrayFromJSON(uint64(), "[1]"));
2406 }
2407
2408 void AssertRankSimple(NullPlacement null_placement,
2409 RankOptions::Tiebreaker tiebreaker) const {

Callers 1

TEST_FFunction · 0.85

Calls 2

AssertRankFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected