ZENOTME commented on issue #341: URL: https://github.com/apache/iceberg-rust/issues/341#issuecomment-2095637090
Thanks! @Dysprosium0626 Sorry for replying late. Our original idea here is to construct the delete schema outside the EqualityDeleteFileWriter. ``` let equality_ids = vec![1, 3]; let delete_schema = ...; let pb = ParquetWriterBuilder::new( WriterProperties::builder().build(), delete_schema, file_io.clone(), location_gen, file_name_gen, ); let mut equality_delete_writer = EqualityDeleteFileWriterBuilder::new(pb) .build(EqualityDeleteWriterConfig::new( equality_ids, PARQUET_FIELD_ID_META_KEY, )) .await?; ``` Looks like the schema always can be determined before we build the writer rather than "run time". -- 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