| 512 | |
| 513 | template <typename T> |
| 514 | Result<T> PrependInvalidColumn(Result<T> res) { |
| 515 | if (res.ok()) return res; |
| 516 | return res.status().WithMessage("Invalid sort key column: ", res.status().message()); |
| 517 | } |
| 518 | |
| 519 | // Return the field indices of the sort keys, deduplicating them along the way |
| 520 | Result<std::vector<SortField>> FindSortKeys(const Schema& schema, |
no test coverage detected