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 2021/09/23 03:46:39 UTC

[GitHub] [iceberg] lirui-apache commented on issue #3139: Read ORC table with nested partition column can lead to ArrayIndexOutOfBoundsException

lirui-apache commented on issue #3139:
URL: https://github.com/apache/iceberg/issues/3139#issuecomment-925485989


   Hey @openinx , I haven't decided what's the right way to fix this. A possible solution is to improve how we generate `idToConstant` in `RowDataReader::open`. Currently we only put metadata column and partition value into that map. Perhaps we can also do a DFS walk of the required schema, and if all nested fields of a compound type are constants, then the compound column itself can be considered a constant too. Does that make sense to you?


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