wombatu-kun commented on issue #16856:
URL: https://github.com/apache/iceberg/issues/16856#issuecomment-4737961886

   Duplicate of #16720: same root cause, just the Flink registrar instead of 
ORC. `FormatModelRegistry.registerSupportedFormats()` catches only 
`NoSuchMethodException`, so the `NoClassDefFoundError` thrown inside 
`FlinkFormatModels.register()` (when `org.apache.flink.table.data.RowData` is 
absent) escapes the static initializer and permanently poisons 
`FormatModelRegistry` for every subsequent read.
   
   Open PR #16611 already addresses this: it widens that loop's catch to 
`NoSuchMethodException | NoClassDefFoundError | ExceptionInInitializerError`, 
and because the loop iterates every entry in `CLASSES_TO_REGISTER` (including 
`org.apache.iceberg.flink.data.FlinkFormatModels`), the Flink case is covered 
there too. Suggest tracking this as a duplicate of #16720 and closing once 
#16611 merges.
   


-- 
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