lidavidm commented on a change in pull request #9995:
URL: https://github.com/apache/arrow/pull/9995#discussion_r611819107



##########
File path: cpp/src/arrow/filesystem/filesystem.h
##########
@@ -141,6 +142,19 @@ struct ARROW_EXPORT FileLocator {
   std::string path;
 };
 
+using FileInfoVector = std::vector<FileInfo>;
+using FileInfoGenerator = std::function<Future<FileInfoVector>()>;
+
+}  // namespace fs
+
+template <>
+struct IterationTraits<fs::FileInfoVector> {

Review comment:
       I think this came up before on Zulip - is there a good definition of end 
value for vector<T>? (perhaps the empty vector but that's not going to apply in 
all situations).




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to