wgtmac commented on a change in pull request #990:
URL: https://github.com/apache/orc/pull/990#discussion_r779360146



##########
File path: c++/include/orc/Reader.hh
##########
@@ -149,6 +149,26 @@ namespace orc {
      */
     RowReaderOptions& includeTypes(const std::list<uint64_t>& types);
 
+    /**
+     * A map of <typeId, ArrayReadIntent> used as a parameter in
+     * RowReaderOptions::includeTypesWithIntents.
+     */
+    typedef std::map<uint64_t, ArrayReadIntent> TypeReadIntents;
+
+    /**
+     * Selects which type ids to read and specific ArrayReadIntents 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.
+     *
+     * This option clears any previous setting of the selected columns or
+     * types.
+     * @param typesWithIntents a map of <typeId, ArrayReadIntent>.
+     * @return this
+     */
+    RowReaderOptions&
+    includeTypesWithIntents(const TypeReadIntents& typesWithIntents);

Review comment:
       OK, that makes sense.




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


Reply via email to