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 845f6c63a [KYUUBI #6507] Correct Kyuubi BeeLine help message
845f6c63a is described below

commit 845f6c63a921b790d227889695c0fc21790c8fc5
Author: Cheng Pan <[email protected]>
AuthorDate: Thu Jun 27 17:36:48 2024 +0800

    [KYUUBI #6507] Correct Kyuubi BeeLine help message
    
    # :mag: Description
    
    Hive 2.3.0 (HIVE-7224) turns it on by default, while Kyuubi BeeLine is a 
fork from Hive BeeLine 3.1.3, we should update the help message to reflect the 
change.
    
    ## Types of changes :bookmark:
    
    - [x] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    Pass GHA.
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6507 from pan3793/beeline-incr.
    
    Closes #6507
    
    8b1ed655a [Cheng Pan] fix
    7a872eeec [Cheng Pan] fix
    88e751d3a [Cheng Pan] Correct Kyuubi BeeLine help message for incremental
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 docs/client/cli/kyuubi_beeline.md                         | 4 ++--
 kyuubi-hive-beeline/src/main/resources/BeeLine.properties | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/client/cli/kyuubi_beeline.md 
b/docs/client/cli/kyuubi_beeline.md
index 3fd5208eb..fc6916c3e 100644
--- a/docs/client/cli/kyuubi_beeline.md
+++ b/docs/client/cli/kyuubi_beeline.md
@@ -38,7 +38,7 @@ Options:
   -u <database url>               The JDBC URL to connect to.
   -c <named url>                  The named JDBC URL to connect to,
                                   which should be present in beeline-site.xml
-                                  as the value of 
beeline.kyuubi.jdbc.url.<namedUrl>.
+                                  as the value of 
beeline.hs2.jdbc.url.<namedUrl>.
 
   -r                              Reconnect to last saved connect url (in 
conjunction with !save).
   -n <username>                   The username to connect as.
@@ -75,7 +75,7 @@ Options:
                                   The available options ars 
[table|vertical|csv2|tsv2|dsv|csv|tsv|json|jsonfile].
                                   Note that csv, and tsv are deprecated, use 
csv2, tsv2 instead.
 
-  --incremental=[true|false]      Defaults to false. When set to false, the 
entire result set
+  --incremental=[true|false]      Defaults to true. When set to false, the 
entire result set
                                   is fetched and buffered before being 
displayed, yielding optimal
                                   display column sizing. When set to true, 
result rows are displayed
                                   immediately as they are fetched, yielding 
lower latency and
diff --git a/kyuubi-hive-beeline/src/main/resources/BeeLine.properties 
b/kyuubi-hive-beeline/src/main/resources/BeeLine.properties
index 20ad6452c..3ae9e26d7 100644
--- a/kyuubi-hive-beeline/src/main/resources/BeeLine.properties
+++ b/kyuubi-hive-beeline/src/main/resources/BeeLine.properties
@@ -159,7 +159,7 @@ Options:\n\
 \  -u <database url>               The JDBC URL to connect to.\n\
 \  -c <named url>                  The named JDBC URL to connect to,\n\
 \                                  which should be present in 
beeline-site.xml\n\
-\                                  as the value of 
beeline.kyuubi.jdbc.url.<namedUrl>.\n\n\
+\                                  as the value of 
beeline.hs2.jdbc.url.<namedUrl>.\n\n\
 \  -r                              Reconnect to last saved connect url (in 
conjunction with !save).\n\
 \  -n <username>                   The username to connect as.\n\
 \  -p <password>                   The password to connect as.\n\
@@ -193,7 +193,7 @@ Options:\n\
 \  --outputformat=<format mode>    Format mode for result display.\n\
 \                                  The available options ars 
[table|vertical|csv2|tsv2|dsv|csv|tsv|json|jsonfile]. \n\
 \                                  Note that csv, and tsv are deprecated, use 
csv2, tsv2 instead.\n\n\
-\  --incremental=[true|false]      Defaults to false. When set to false, the 
entire result set\n\
+\  --incremental=[true|false]      Defaults to true. When set to false, the 
entire result set\n\
 \                                  is fetched and buffered before being 
displayed, yielding optimal\n\
 \                                  display column sizing. When set to true, 
result rows are displayed\n\
 \                                  immediately as they are fetched, yielding 
lower latency and\n\

Reply via email to