wgtmac commented on pull request #921:
URL: https://github.com/apache/orc/pull/921#issuecomment-930704093


   > It's great. Thank you, @stiga-huang . BTW, do we support only ordinal 
column numbers?
   > 
   > Could you give explain how to select columns from complex types like 
nested columns like `struct`? It would be great if we can have a test coverage 
for complex types, too.
   > 
   > cc @wgtmac
   
   The RowReaderOptions support column pruning by fieldName 
(include(list<string>)), fieldId (include(list<int>)), and columnId 
(includeTypes(list<int>)). The last one supports pruning nested column in the 
struct. I think that is what @dongjoon-hyun has mentioned. Support nested 
pruning requires user to specify the exact columnId which is not easy if the 
schema is rather complex.


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


Reply via email to