You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ismailsimsek (via GitHub)" <gi...@apache.org> on 2024/03/03 18:44:33 UTC
Re: [I] Using iceberg-parquet and iceberg-spark-runtime throws ClassCastException for MessageType [iceberg]
ismailsimsek commented on issue #6205:
URL: https://github.com/apache/iceberg/issues/6205#issuecomment-1975257517
Thank you. ran into same error and it solved my error.
`Caused by: java.lang.ClassCastException: class org.apache.parquet.schema.MessageType cannot be cast to class org.apache.iceberg.shaded.org.apache.parquet.schema.MessageType`
replaced spark runtime with following
```
<dependency>
<groupId>org.apache.iceberg</groupId>
<artifactId>iceberg-spark-${version.spark.major}_${version.spark.scala}</artifactId>
<version>${version.iceberg}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.iceberg</groupId>
<artifactId>iceberg-spark-extensions-${version.spark.major}_${version.spark.scala}</artifactId>
<version>${version.iceberg}</version>
<scope>test</scope>
</dependency>
```
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org