deniskuzZ commented on code in PR #5642:
URL: https://github.com/apache/hive/pull/5642#discussion_r1975618418
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveStorageHandler.java:
##########
@@ -613,15 +614,17 @@ default boolean commitInMoveTask() {
* Commits the inserts for the non-native tables. Used in the {@link
org.apache.hadoop.hive.ql.exec.MoveTask}.
* @param commitProperties Commit properties which are needed for the
handler based commit
* @param operation the operation type
+ * @param suppliedExecutor an ExecutorService to be used by the
StorageHandler (optional)
* @throws HiveException If there is an error during commit
*/
- default void storageHandlerCommit(Properties commitProperties, Operation
operation) throws HiveException {
+ default void storageHandlerCommit(Properties commitProperties, Operation
operation, ExecutorService suppliedExecutor)
+ throws HiveException {
throw new UnsupportedOperationException();
}
@Deprecated
default void storageHandlerCommit(Properties commitProperties, boolean
overwrite) throws HiveException {
- storageHandlerCommit(commitProperties, overwrite ? Operation.IOW :
Operation.OTHER);
+ storageHandlerCommit(commitProperties, overwrite ? Operation.IOW :
Operation.OTHER, null);
Review Comment:
remove this
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]