Is your feature request related to a problem? Please describe.
We use automatically generated DuckDB queries in our application which often results in the same Iceberg scan with the same filters multiple times in the same query. But these queries currently cannot be optimized by common_subplan to materialize common CTEs.
Describe the solution you'd like
That optimization requires IcebergScanSerialize and IcebergScanDeserialize to be implemented for a deterministic representation of the scan operation.
Is your feature request related to a problem? Please describe.
We use automatically generated DuckDB queries in our application which often results in the same Iceberg scan with the same filters multiple times in the same query. But these queries currently cannot be optimized by
common_subplanto materialize common CTEs.Describe the solution you'd like
That optimization requires
IcebergScanSerializeandIcebergScanDeserializeto be implemented for a deterministic representation of the scan operation.