vineetgarg02 commented on a change in pull request #552: Hive 21279 URL: https://github.com/apache/hive/pull/552#discussion_r260893661
########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java ########## @@ -1204,6 +1203,18 @@ private static void moveSpecifiedFiles(FileSystem fs, Path src, Path dst, Set<Pa } } + public static void moveSpecifiedFiles(FileSystem fs, Path dst, Set<Path> filesToMove) + throws IOException, HiveException { + if (!fs.exists(dst)) { + fs.mkdirs(dst); Review comment: This was a copy paste from existing code. I'll check if exists is required or not. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services