Note that we always pass the tail-partition second. In this function _nulls_ are passed as a second argument.
| 208 | // Note that we always pass the tail-partition second. |
| 209 | // In this function _nulls_ are passed as a second argument. |
| 210 | static NullPartition NullsAtEnd(std::span<uint64_t> indices, |
| 211 | std::span<uint64_t> null_tail) { |
| 212 | ARROW_DCHECK_GE(null_tail.data(), indices.data()); |
| 213 | ARROW_DCHECK_EQ(null_tail.data() + null_tail.size(), indices.data() + indices.size()); |
| 214 | return {.non_nulls = {indices.data(), null_tail.data()}, .nulls = null_tail}; |
| 215 | } |
| 216 | |
| 217 | // Note that we always pass the tail-partition second. |
| 218 | // In this function the _non-nulls_ are passed as a second argument. |