deniskuzZ commented on code in PR #5277: URL: https://github.com/apache/hive/pull/5277#discussion_r1738425596
########## ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/concatenate/AlterTableConcatenateOperation.java: ########## @@ -76,7 +76,9 @@ private MergeFileWork getMergeFileWork(CompilationOpContext opContext) throws Hi Map<Path, List<String>> pathToAliases = new LinkedHashMap<>(); List<String> inputDirStr = Lists.newArrayList(inputDirList.toString()); - pathToAliases.put(desc.getInputDir(), inputDirStr); + for (Path path: mergeWork.getInputPaths()) { Review Comment: @ngsg, `mergeWork.getInputPaths()` and `desc.getInputDir()` are the same, isn't it? ```` mergeWork = new MergeFileWork(Lists.newArrayList(desc.getInputDir()) ```` -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org