You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/11/18 04:47:06 UTC

[GitHub] [iceberg] eemario commented on issue #6205: Using iceberg-parquet and iceberg-spark-runtime throws ClassCastException for MessageType

eemario commented on issue #6205:
URL: https://github.com/apache/iceberg/issues/6205#issuecomment-1319537484

   I think these two dependencies triggered the exception when I call `spark.read().format("iceberg").load(...)` :
   
   <dependency>
               <groupId>org.apache.iceberg</groupId>
               <artifactId>iceberg-parquet</artifactId>
               <version>1.0.0</version>
   </dependency>
   <dependency>
               <groupId>org.apache.iceberg</groupId>
               <artifactId>iceberg-spark-runtime-3.2_2.12</artifactId>
               <version>1.0.0</version>
   </dependency>
   
   
   I solved it by changing these to:
   
   <dependency>
               <groupId>org.apache.iceberg</groupId>
               <artifactId>iceberg-parquet</artifactId>
               <version>1.0.0</version>
   </dependency>
   <dependency>
               <groupId>org.apache.iceberg</groupId>
               <artifactId>iceberg-spark</artifactId>
               <version>1.0.0</version>
   </dependency>
   <dependency>
               <groupId>org.apache.iceberg</groupId>
               <artifactId>iceberg-arrow</artifactId>
               <version>1.0.0</version>
   </dependency>
   
   Thanks!


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