dengzhhu653 commented on code in PR #4520: URL: https://github.com/apache/hive/pull/4520#discussion_r1285606682
########## ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java: ########## @@ -1039,7 +1039,7 @@ public static List<String> mergeUniqElems(List<String> src, List<String> dest) { return src; } - private static final String tmpPrefix = "_tmp."; + private static final String tmpPrefix = "-tmp."; private static final String taskTmpPrefix = "_task_tmp."; Review Comment: For union insert case, we have changed the tmp directory recently to: table-dir/staging-dir/-ext-10000/_tmp.HIVE_UNION_SUBDIR_1/<partition-dir>/HIVE_UNION_SUBDIR_1, `Utilities.toTempPath(root)` in `getMergeInputDirName` will return the path `<table-dir>/<staging-dir>/-tmp.-ext-10000` which could be empty. -- 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