(tempdir)
| 1878 | |
| 1879 | @pytest.mark.parquet |
| 1880 | def test_fragments_parquet_subset_invalid(tempdir): |
| 1881 | _, dataset = _create_dataset_for_fragments(tempdir, chunk_size=1) |
| 1882 | fragment = list(dataset.get_fragments())[0] |
| 1883 | |
| 1884 | # passing none or both of filter / row_group_ids |
| 1885 | with pytest.raises(ValueError): |
| 1886 | fragment.subset(ds.field("f1") >= 1, row_group_ids=[1, 2]) |
| 1887 | |
| 1888 | with pytest.raises(ValueError): |
| 1889 | fragment.subset() |
| 1890 | |
| 1891 | |
| 1892 | @pytest.mark.parquet |
nothing calls this directly
no test coverage detected