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

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


The following commit(s) were added to refs/heads/master by this push:
     new 050b5aa7d [KYUUBI #4960] [DOC] Fix doc for pyhive client.
050b5aa7d is described below

commit 050b5aa7df148fc11cdbe164f72061739566fdc4
Author: Bruce <[email protected]>
AuthorDate: Wed Jun 14 19:19:16 2023 +0800

    [KYUUBI #4960] [DOC] Fix doc for pyhive client.
    
    ### _Why are the changes needed?_
    Based on my actual tests and pyhive source code, the variable "user" should 
be "username".
    
    [pyhive source 
code](https://github.com/dropbox/PyHive/blob/master/pyhive/hive.py#L115)
    
    <img width="866" alt="图片" 
src="https://github.com/apache/kyuubi/assets/29974394/f5022f89-11d4-4d3b-af16-176ff2cd8068";>
    
    Thanks.
    
    Closes #4960 from BruceWong96/doc-fix.
    
    Closes #4960
    
    db39786f6 [Cheng Pan] Update docs/client/python/pyhive.md
    d32f8f590 [Bruce] fix doc for pyhive client.
    
    Lead-authored-by: Bruce <[email protected]>
    Co-authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 docs/client/python/pyhive.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/client/python/pyhive.md b/docs/client/python/pyhive.md
index dbebf684f..444ec1e81 100644
--- a/docs/client/python/pyhive.md
+++ b/docs/client/python/pyhive.md
@@ -64,7 +64,7 @@ If password is provided for connection, make sure the `auth` 
param set to either
 
 ```python
 # open connection
-conn = hive.Connection(host=kyuubi_host,port=10009, 
-user='user', password='password', auth='CUSTOM')
+conn = hive.Connection(host=kyuubi_host, port=10009, 
+                       username='user', password='password', auth='CUSTOM')
 ```
 

Reply via email to