turboFei commented on code in PR #2909:
URL: https://github.com/apache/incubator-kyuubi/pull/2909#discussion_r901177225


##########
kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala:
##########
@@ -22,13 +22,16 @@ import scala.collection.JavaConverters._
 
 import org.apache.kyuubi.client.BatchRestApi
 import org.apache.kyuubi.client.api.v1.dto.{Batch, OperationLog}
-import org.apache.kyuubi.client.exception.KyuubiRestException
 import org.apache.kyuubi.ctl.CliConfig
-import org.apache.kyuubi.ctl.RestClientFactory.withKyuubiRestClient
+import org.apache.kyuubi.ctl.CtlConf._
+import org.apache.kyuubi.ctl.RestClientFactory.{withKyuubiInstanceRestClient, 
withKyuubiRestClient}
 import org.apache.kyuubi.ctl.cmd.Command
 import org.apache.kyuubi.ctl.util.{BatchUtil, Render}
 
-class LogBatchCommand(cliConfig: CliConfig, restConfigMap: JMap[String, 
Object] = null)
+class LogBatchCommand(
+    cliConfig: CliConfig,
+    batch: Batch = null,

Review Comment:
       batch: Option[Batch] = None,
   



-- 
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: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to