(tab, sort_col)
| 4196 | |
| 4197 | |
| 4198 | def _sort_table(tab, sort_col): |
| 4199 | import pyarrow.compute as pc |
| 4200 | sorted_indices = pc.sort_indices( |
| 4201 | tab, options=pc.SortOptions([(sort_col, 'ascending', 'at_end')])) |
| 4202 | return pc.take(tab, sorted_indices) |
| 4203 | |
| 4204 | |
| 4205 | def _check_dataset_roundtrip(dataset, base_dir, expected_files, sort_col, |
no test coverage detected