Hi,

I have a Java app that writes Iceberg files with the core API. As a result,
it uses the unshaded parquet package. I am now extending the app to read
the table with Spark. Unfortunately the iceberg-spark3-runtime uses the
shaded parquet package and I am getting:

*java.lang.ClassCastException: org.apache.parquet.schema.MessageType cannot
be cast to org.apache.iceberg.shaded.org.apache.parquet.schema.MessageType *

Any idea to workaround this without separating the app? This
<https://lists.apache.org/thread.html/r4999ad55590b7483af9e23da2762bde34659148f74ad4fa9d88f7235%40%3Cdev.iceberg.apache.org%3E>
is
a related thread in the past. Thanks.

--
Huadong

Reply via email to