Guosmilesmile commented on PR #15596:
URL: https://github.com/apache/iceberg/pull/15596#issuecomment-4494057287

   @pvary @talatuyarer @nssalian @aihuaxu Hey all, I rebased main but ran into 
some CI failures. Looks like a new check was added recently that doesn't allow 
modifying the ParquetFormatModel parameter types directly.
   
   As a workaround, I added a new method createWithCopyFuncFactory in 
ParquetFormatModel. The original create method now delegates to it, so the 
Spark code stays untouched, while FlinkFormatModels calls 
createWithCopyFuncFactory explicitly.
   
   Would really appreciate it if you could help take another look at these 
changes. Thanks a lot!
   
   
   ```
   java.method.parameterTypeChanged: The type of the parameter changed from 
'java.util.function.UnaryOperator<D extends java.lang.Object>' to 
'java.util.function.Function<S extends java.lang.Object, 
java.util.function.UnaryOperator<D extends java.lang.Object>>'.
   
   old: parameter <D, S> org.apache.iceberg.parquet.ParquetFormatModel<D, S, 
org.apache.iceberg.parquet.ParquetValueReader<?>> 
org.apache.iceberg.parquet.ParquetFormatModel<D, S, 
R>::create(java.lang.Class<D>, java.lang.Class<S>, 
org.apache.iceberg.formats.BaseFormatModel.WriterFunction<org.apache.iceberg.parquet.ParquetValueWriter<?>,
 S, org.apache.parquet.schema.MessageType>, 
org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<org.apache.iceberg.parquet.ParquetValueReader<?>,
 S, org.apache.parquet.schema.MessageType>, 
org.apache.iceberg.parquet.VariantShreddingAnalyzer<D, S>, 
===java.util.function.UnaryOperator<D>===)
   new: parameter <D, S> org.apache.iceberg.parquet.ParquetFormatModel<D, S, 
org.apache.iceberg.parquet.ParquetValueReader<?>> 
org.apache.iceberg.parquet.ParquetFormatModel<D, S, 
R>::create(java.lang.Class<D>, java.lang.Class<S>, 
org.apache.iceberg.formats.BaseFormatModel.WriterFunction<org.apache.iceberg.parquet.ParquetValueWriter<?>,
 S, org.apache.parquet.schema.MessageType>, 
org.apache.iceberg.formats.BaseFormatModel.ReaderFunction<org.apache.iceberg.parquet.ParquetValueReader<?>,
 S, org.apache.parquet.schema.MessageType>, 
org.apache.iceberg.parquet.VariantShreddingAnalyzer<D, S>, 
===java.util.function.Function<S, java.util.function.UnaryOperator<D>>===)
   ```
   
   
   
https://github.com/apache/iceberg/actions/runs/26136650474/job/76873207059?pr=15596
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to