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