| 499 | |
| 500 | template <typename T> |
| 501 | Result<T> PrependInvalidColumn(Result<T> res) { |
| 502 | if (res.ok()) return res; |
| 503 | return res.status().WithMessage("Invalid sort key column: ", res.status().message()); |
| 504 | } |
| 505 | |
| 506 | // Return the field indices of the sort keys, deduplicating them along the way |
| 507 | Result<std::vector<SortField>> FindSortKeys(const Schema& schema, |
no test coverage detected