()
| 991 | |
| 992 | @pytest.mark.parquet |
| 993 | def test_parquet_file_format_read_options(): |
| 994 | pff1 = ds.ParquetFileFormat() |
| 995 | pff2 = ds.ParquetFileFormat(dictionary_columns={'a'}) |
| 996 | pff3 = ds.ParquetFileFormat(coerce_int96_timestamp_unit="s") |
| 997 | pff4 = ds.ParquetFileFormat(binary_type=pa.binary_view()) |
| 998 | pff5 = ds.ParquetFileFormat(list_type=pa.LargeListType) |
| 999 | |
| 1000 | assert pff1.read_options == ds.ParquetReadOptions() |
| 1001 | assert pff2.read_options == ds.ParquetReadOptions(dictionary_columns=['a']) |
| 1002 | assert pff3.read_options == ds.ParquetReadOptions( |
| 1003 | coerce_int96_timestamp_unit="s") |
| 1004 | assert pff4.read_options == ds.ParquetReadOptions( |
| 1005 | binary_type=pa.binary_view()) |
| 1006 | assert pff5.read_options == ds.ParquetReadOptions( |
| 1007 | list_type=pa.LargeListType) |
| 1008 | |
| 1009 | |
| 1010 | @pytest.mark.parquet |
nothing calls this directly
no test coverage detected