deniskuzZ commented on a change in pull request #1893:
URL: https://github.com/apache/hive/pull/1893#discussion_r563846857
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/io/HdfsUtils.java
##########
@@ -117,6 +117,10 @@ public static long createTestFileId(
}
return result;
}
+ public static List<Path> listPath(final FileSystem fs, final Path path,
final PathFilter filter,
+ final boolean recursive) throws IOException {
+ return listLocatedFileStatus(fs, path, filter,
recursive).stream().map(FileStatus::getPath).collect(Collectors.toList());
Review comment:
formatting: put map/collect on new lines
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]