| 135 | } |
| 136 | |
| 137 | bool WindowPartition::compareRowsWithSortKeys(const char* lhs, const char* rhs) |
| 138 | const { |
| 139 | if (lhs == rhs) { |
| 140 | return false; |
| 141 | } |
| 142 | for (auto& key : sortKeyInfo_) { |
| 143 | if (auto result = data_->compare( |
| 144 | lhs, |
| 145 | rhs, |
| 146 | key.first, |
| 147 | {key.second.isNullsFirst(), key.second.isAscending(), false})) { |
| 148 | return result < 0; |
| 149 | } |
| 150 | } |
| 151 | return false; |
| 152 | } |
| 153 | |
| 154 | std::pair<vector_size_t, vector_size_t> WindowPartition::computePeerBuffers( |
| 155 | vector_size_t start, |
nothing calls this directly
no test coverage detected