(t1, t2)
| 4445 | [pa.field('c', pa.int64())]), flavor='hive') |
| 4446 | |
| 4447 | def compare_tables_ignoring_order(t1, t2): |
| 4448 | df1 = t1.to_pandas().sort_values('b').reset_index(drop=True) |
| 4449 | df2 = t2.to_pandas().sort_values('b').reset_index(drop=True) |
| 4450 | assert df1.equals(df2) |
| 4451 | |
| 4452 | # First write is ok |
| 4453 | ds.write_dataset(table, directory, partitioning=partitioning, format='ipc') |
no test coverage detected