rajan-v opened a new issue, #7471:
URL: https://github.com/apache/iceberg/issues/7471

   ### Apache Iceberg version
   
   1.2.1 (latest release)
   
   ### Query engine
   
   Flink
   
   ### Please describe the bug ๐Ÿž
   
   iceberg-orc-1.2.1.jar has dependency on  org.apache.orc ยป orc-core 1.8.2
   https://mvnrepository.com/artifact/org.apache.iceberg/iceberg-orc/1.2.1
   
   But OrcFileAppender.java under iceberg-orc-1.2.1.jar depends on 
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch which is only present 
in orc-core-1.5.6-nohive.jar
   
   
   Problem
   I am using flink-1.16.1 and related packages for my project. I am not using 
iceberg-flink-runtime-1.16 as its causing avro object serilization issue due to 
shaded avro jars.
   
   Based on runtime picking of picked 
orc-core-1.8.2.jar/orc-core-1.5.6-nohive.jar version I am getting following 
errors
   From these two classes OrcFileAppender & ORCSchemaUtil
   java.lang.NoSuchMethodError: 
org.apache.orc.TypeDescription.setAttribute(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/orc/TypeDescription;
   java.lang.NoSuchMethodError: 
org.apache.orc.TypeDescription.createRowBatch(I)Lorg/apache/orc/storage/ql/exec/vector/VectorizedRowBatch;
   
   
   OrcFileAppender imports 
org.apache.**orc.storage**.ql.exec.vector.VectorizedRowBatch in 
orc-core-1.8.2.jar
   but imports  org.apache.**hadoop.hive**.ql.exec.vector.VectorizedRowBatch  
in orc-core-1.8.2.jar
   
   ORCSchemaUtil  imports org.apache.orc.TypeDescription 
   calls setAttribute(..)  method which is present in  class TypeDescription 
under orc-core-1.8.2.jar but not in class TypeDescription under  
orc-core-1.5.6-nohive.jar
   
   
   Any resolution for this?
   


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