[ 
https://issues.apache.org/jira/browse/HIVE-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888556#comment-13888556
 ] 

Lefty Leverenz commented on HIVE-6173:
--------------------------------------

I documented Beeline's command line options in the HiveServer2 Clients doc:

* [Beeline Command Options 
|https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-BeelineCommandOptions]

This needs careful review and revision!  My sources were BeeLine.properties, 
BeeLineOpts.java, the SQLLine doc, some Hive JIRAS, a bit of Java 
documentation, and common sense.

Questions: 

1. Does the query string for -e take single quotes or double quotes?
2. Is the autoCommit default false as shown in BeeLineOpts.java or true as 
shown in the SQLLine doc?
3. What are the possible values & default value for isolation?
4. What is the default for numberFormat?  BeeLineOpts.java says "default" but I 
don't know what that means.
5. Is the description of the default for maxWidth okay?  (Modified from SQLLine 
doc.)
6. Does showNestedErrs have a JIRA ticket?  (It isn't in the SQLLine doc.)
7. Should any of these options be documented?
* --incremental (in BeeLineOpts & SQLLine doc, but not in BeeLine.properties)
* --showElapsedTime (in BeeLineOpts, not in BeeLine.properties nor SQLLine doc)
* --maxHeight (ditto)
* --timeout (ditto)
* --trimScripts (ditto)
* --allowMultiLineCommand (ditto)

Please fix the doc or tell me what to fix.

> Beeline doesn't accept --hiveconf option as Hive CLI does
> ---------------------------------------------------------
>
>                 Key: HIVE-6173
>                 URL: https://issues.apache.org/jira/browse/HIVE-6173
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 0.10.0, 0.11.0, 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6173.1.patch, HIVE-6173.2.patch, HIVE-6173.patch
>
>
> {code}
> > beeline -u jdbc:hive2:// --hiveconf a=b
> Usage: java org.apache.hive.cli.beeline.BeeLine 
> {code}
> Since Beeline is replacing Hive CLI, it should support this command line 
> option as well.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to