deniskuzZ commented on code in PR #5076: URL: https://github.com/apache/hive/pull/5076#discussion_r1523065083
########## ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java: ########## @@ -208,14 +235,17 @@ public List<Task<?>> getTasks(HiveConf conf, Object objCtx) { } else { // static partition and list bucketing generateActualTasks(conf, resTsks, trgtSize, avgConditionSize, mvTask, mrTask, - mrAndMvTask, dirPath, inpFs, ctx, work, lbLevel, manifestFilePresent); + mrAndMvTask, dirPath, inpFs, ctx, work, lbLevel, manifestFilePresent, storageHandler); } } + } else if (useCustomStorageHandler) { + generateActualTasks(conf, resTsks, trgtSize, avgConditionSize, mvTask, mrTask, + mrAndMvTask, dirPath, inpFs, ctx, work, 0, false, storageHandler); } else { Utilities.FILE_OP_LOGGER.info("Resolver returning movetask for " + dirPath); resTsks.add(mvTask); } - } catch (IOException e) { + } catch (ClassNotFoundException | HiveException | IOException e) { Review Comment: should we handle ClassNotFoundException | HiveException outside of this try? ```` try { handler = HiveUtils.getStorageHandler(conf, storageHandler); } catch (HiveException e) { throw new SemanticException("Failed to load storage handler: " + e.getMessage()); } ```` -- 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