rizaon commented on a change in pull request #990: URL: https://github.com/apache/orc/pull/990#discussion_r778486717
########## File path: c++/include/orc/Reader.hh ########## @@ -149,6 +149,28 @@ namespace orc { */ RowReaderOptions& includeTypes(const std::list<uint64_t>& types); + /** + * A map of <typeId, set<ReadIntent>> used as a parameter in + * RowReaderOptions::includeTypesAndIntents. + */ + typedef std::map<uint64_t, std::set<ReadIntent>> TypeReadIntents; + + /** + * Selects which type ids to read and specific ReadIntents for each + * type id. The root type is always 0 and the rest of the types are + * labeled in a preorder traversal of the tree. The parent types are + * automatically selected, but the children are not. If a type id is + * selected with an empty ReadIntent set, the empty set will be replaced + * by {ReadIntent_DATA}. Review comment: Now we default to ArrayReadIntent_ALL -- 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: dev-unsubscr...@orc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org