protected HiveCommandOperation(
     HiveSession parentSession,
     String statement,
     CommandProcessor commandProcessor,
     Map<String, String> confOverlay) {
   super(parentSession, statement, confOverlay, false);
   this.commandProcessor = commandProcessor;
   setupSessionIO(parentSession.getSessionState());
 }
Example #2
0
 public SQLOperation(
     HiveSession parentSession,
     String statement,
     Map<String, String> confOverlay,
     boolean runInBackground) {
   // TODO: call setRemoteUser in ExecuteStatementOperation or higher.
   super(parentSession, statement, confOverlay, runInBackground);
   setupSessionIO(parentSession.getSessionState());
 }