jayceslesar commented on issue #1937: URL: https://github.com/apache/iceberg-python/issues/1937#issuecomment-2816957188
Also interesting that the following throws an error... ```py import pyarrow.dataset as ds import pyarrow as pa import pyarrow.parquet as pq data = pa.table({ "x": pa.array([0.0, 1.0, 2.0], type=pa.float64()), "y": pa.array([0.0, 0.0, 0.0], type=pa.float64()), }) partitioning = ds.partitioning( pa.schema([("x", pa.float64())]), flavor="hive" ) ds.write_dataset( data, base_dir="partitioned_dataset", format="parquet", partitioning=partitioning, ) dataset = ds.dataset("partitioned_dataset", format="parquet") filtered = dataset.to_table(filter=ds.field("x").isin([0, 1, 2])) ``` But changing the filter to be on `"y"` instead of `"x"` does not, and returns appropriate data. Maybe unrelated but I thought was interesting -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org