uncleGen opened a new pull request #2711:
URL: https://github.com/apache/iceberg/pull/2711


   This bug is met when read iceberg format V2 table with hive on spark or hive 
on tez. As shown bellow, the position of filed `env_key` in table schema is 22. 
But in internal processing, the record has three fields: <'id', 'env_key', 
'xxx'>. `id` and `env_key` is the `deleteSchema`, and `xxx` is the 
`requestSchema`. So we should use pos 2 to get field data from record, but 
should get with `getFieldName`.
   
   
![image](https://user-images.githubusercontent.com/7402327/122536915-9c6c2f80-d057-11eb-959d-3ff319c0d933.png)
   


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