| 773 | } |
| 774 | |
| 775 | bool MaterializedRowEpsilonComparator::hasUniqueKeys( |
| 776 | const std::vector<MaterializedRow>& sortedRows) const { |
| 777 | for (auto i = 1; i < sortedRows.size(); ++i) { |
| 778 | if (equalKeys(sortedRows[i], sortedRows[i - 1])) { |
| 779 | return false; |
| 780 | } |
| 781 | } |
| 782 | return true; |
| 783 | } |
| 784 | |
| 785 | bool MaterializedRowEpsilonComparator::sortByUniqueKey( |
| 786 | const MaterializedRowMultiset& expected, |