This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new 675681125 [KYUUBI #3624][REST] Fix description typo of session REST 
open api
675681125 is described below

commit 6756811259334b785813ac567e8eefbb485f1639
Author: Luning Wang <[email protected]>
AuthorDate: Mon Oct 17 16:37:43 2022 +0800

    [KYUUBI #3624][REST] Fix description typo of session REST open api
    
    ### _Why are the changes needed?_
    Fix `getPrimaryKeys` and `getCrossReference` descriptions typo of session 
REST open API
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [x] [Run 
test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests)
 locally before make a pull request
    
    Closes #3625 from deadwind4/cross-ref-rest-typo.
    
    Closes #3624
    
    c2e586d9 [Luning Wang] [KYUUBI #3624][REST] Fix description typo of session 
REST open api
    
    Authored-by: Luning Wang <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit b0cd6a464ff5278175cd93990052d9a484533d13)
    Signed-off-by: Cheng Pan <[email protected]>
---
 .../main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala
 
b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala
index b27b612d5..2a570ccbd 100644
--- 
a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala
+++ 
b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala
@@ -353,7 +353,7 @@ private[v1] class SessionsResource extends 
ApiRequestContext with Logging {
     content = Array(new Content(
       mediaType = MediaType.APPLICATION_JSON,
       schema = new Schema(implementation = classOf[OperationHandle]))),
-    description = "Create an operation with GET_FUNCTIONS type")
+    description = "Create an operation with GET_PRIMARY_KEY type")
   @POST
   @Path("{sessionHandle}/operations/primaryKeys")
   def getPrimaryKeys(
@@ -378,7 +378,7 @@ private[v1] class SessionsResource extends 
ApiRequestContext with Logging {
     content = Array(new Content(
       mediaType = MediaType.APPLICATION_JSON,
       schema = new Schema(implementation = classOf[OperationHandle]))),
-    description = "Create an operation with GET_FUNCTIONS type")
+    description = "Create an operation with GET_CROSS_REFERENCE type")
   @POST
   @Path("{sessionHandle}/operations/crossReference")
   def getCrossReference(

Reply via email to