(tempdir)
| 2303 | |
| 2304 | |
| 2305 | def test_hive_partitioning_nulls(tempdir): |
| 2306 | table = pa.table({'a': ['x', None, 'z'], 'b': ['x', 'y', None]}) |
| 2307 | part = ds.HivePartitioning(pa.schema( |
| 2308 | [pa.field('a', pa.string()), pa.field('b', pa.string())]), None, 'xyz') |
| 2309 | ds.write_dataset(table, tempdir, format='ipc', partitioning=part) |
| 2310 | _check_dataset_directories(tempdir, ['a=x/b=x', 'a=xyz/b=y', 'a=z/b=xyz']) |
| 2311 | |
| 2312 | |
| 2313 | def test_partitioning_function(): |
nothing calls this directly
no test coverage detected