You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "ulysses-you (via GitHub)" <gi...@apache.org> on 2023/02/03 07:03:23 UTC

[GitHub] [kyuubi] ulysses-you commented on a diff in pull request #4232: [KYUUBI #3935] Support use Trino client to submit SQL

ulysses-you commented on code in PR #4232:
URL: https://github.com/apache/kyuubi/pull/4232#discussion_r1095418493


##########
kyuubi-common/src/main/scala/org/apache/kyuubi/service/BackendService.scala:
##########
@@ -91,7 +91,7 @@ trait BackendService {
       foreignTable: String): OperationHandle
   def getQueryId(operationHandle: OperationHandle): String
 
-  def getOperationStatus(operationHandle: OperationHandle): OperationStatus
+  def getOperationStatus(operationHandle: OperationHandle, maxWait: Long = 0): OperationStatus

Review Comment:
   can we preverse the old method ? we can have both of these:
   ```
   def getOperationStatus(operationHandle: OperationHandle): OperationStatus
   def getOperationStatus(operationHandle: OperationHandle, waitTimeMs: Long): OperationStatus
   ```



-- 
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-unsubscribe@kyuubi.apache.org

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


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