omarsmak opened a new pull request #3155:
URL: https://github.com/apache/iceberg/pull/3155


   Fixes #3041
   
   As I explained 
[here](https://github.com/apache/iceberg/issues/3041#issuecomment-921917532), 
this issue seems happen as regression result from PR: 
https://github.com/apache/iceberg/pull/2613
   So the issue is that compiled class `HiveVectorizedReader` refers to the 
shaded `org.apache.iceberg.shaded.org.apache.orc.OrcTail` instead of 
`org.apache.orc.OrcTail` which triggers the error that is described in the 
github issue when using Vectorized ORC with MR jobs. 
   Honestly, this is a bit annoying issue due to the inter-dependencies between 
Hive, Iceberg and ORC and therefore, the simplest solution is to copy `OrcTail` 
class from Hive 3.1.2 into Iceberg for this only case. However, to be honest I 
am not happy to copy such classes from Hive but from my humble understanding is 
that, such solution will be temporary until the release of Hive 4. Thus, I am 
submitting this PR for this purposed solution, if anybody has a better idea how 
to solve such issue, I will be happy to hear. 


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