ulysses-you commented on code in PR #4417:
URL: https://github.com/apache/kyuubi/pull/4417#discussion_r1141899541
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/trino/api/Query.scala:
##########
@@ -152,6 +192,20 @@ object Query {
Query(QueryId(operationHandle), updatedContext, backendService)
}
+ def apply(
+ statementId: String,
+ statement: String,
+ context: TrinoContext,
+ backendService: BackendService): Query = {
+ val sessionHandle = getOrCreateSession(context, backendService)
+ val sessionWithId =
+ context.session + (KYUUBI_SESSION_ID ->
sessionHandle.identifier.toString)
+ Query(
+ queryId = QueryId("9231360e-8673-477e-8f00-63167efe1744"),
Review Comment:
why does this query id hard code ?
--
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]