From 9a21642cf8765a252a6d8118c20b19262d7f95c1 Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 19 Dec 2023 11:53:22 +0800 Subject: [PATCH] feat: upgrade to 0.5.2 --- databend_py/VERSION | 2 +- docs/connection.md | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/databend_py/VERSION b/databend_py/VERSION index 5d4294b..2411653 100644 --- a/databend_py/VERSION +++ b/databend_py/VERSION @@ -1 +1 @@ -0.5.1 \ No newline at end of file +0.5.2 \ No newline at end of file diff --git a/docs/connection.md b/docs/connection.md index f2d1bda..e992142 100644 --- a/docs/connection.md +++ b/docs/connection.md @@ -21,16 +21,18 @@ client = Client( ### Parameter References -| Parameter | Description | Default | example | -|-------------------|----------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------| -| user | username | root | | -| password | password | None | | | -| port | server port | None | | -| database | selected database | default | -| secure | Enable SSL | false | http://root@localhost:8000/db?secure=False | -| copy_purge | If True, the command will purge the files in the stage after they are loaded successfully into the table | false | http://root@localhost:8000/db?copy_purge=False | -| debug | Enable debug log | False | http://root@localhost:8000/db?debug=True | -| persist_cookies | if using cookies set by server to perform following requests. | False | http://root@localhost:8000/db?persist_cookies=True | -| null_to_none | if the result data NULL which is of type str, change it to NoneType | False | http://root@localhost:8000/db?null_to_none=True | -| connect_timeout | timeout seconds when connect to databend | 20 | http://root:root@localhost:8000/db?connect_timeout=30 | +| Parameter | Description | Default | example | +|-----------------|----------------------------------------------------------------------------------------------------------|---------|-------------------------------------------------------| +| user | username | root | | +| password | password | None | | | +| port | server port | None | | +| database | selected database | default | +| secure | Enable SSL | false | http://root@localhost:8000/db?secure=False | +| copy_purge | If True, the command will purge the files in the stage after they are loaded successfully into the table | false | http://root@localhost:8000/db?copy_purge=False | +| debug | Enable debug log | False | http://root@localhost:8000/db?debug=True | +| persist_cookies | if using cookies set by server to perform following requests. | False | http://root@localhost:8000/db?persist_cookies=True | +| null_to_none | if the result data NULL which is of type str, change it to NoneType | False | http://root@localhost:8000/db?null_to_none=True | +| connect_timeout | timeout seconds when connect to databend | 20 | http://root:root@localhost:8000/db?connect_timeout=30 | +| read_timeout | timeout seconds when read from server | 20 | http://root:root@localhost:8000/db?read_timeout=30 | +