qphien opened a new pull request #2171:
URL: https://github.com/apache/iceberg/pull/2171


   With 
[this](https://github.com/apache/hive/blob/113f6af7528f016bf821f7a746bad496cc93f834/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/MapRecordProcessor.java#L173-L181),
 `hive.io.file.readcolumn.names` is not overlayed from  
`HiveInputforma.jobConf` to `MapOperator.jobConf`. `MapOperator.jobConf` does 
not has corresponding projection columns, when `HiveIcebergSerde` is 
initialized, inspector contains all table fields is created.
   
   Due to wrong inspector, `ArrayIndexOutOfBoundsException` will be raised when 
partial fields are selected.
   
   This also fix vectorization read issue in 
https://github.com/apache/iceberg/issues/2120
   
   


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

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