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

Xuefu Zhang commented on HIVE-6173:
-----------------------------------

Sorry for missing the above message.
{quote}
1. Does the query string for -e take single quotes or double quotes?
{quote}
either works.

{quote}
2. Is the autoCommit default false as shown in BeeLineOpts.java or true as 
shown in the SQLLine doc?
{quote}
Hive doesn't support transaction or rollback concept. (It always auto-commit 
upon success.) As to this prop, it doesn't really matter as far as Hive is 
concerned. (Beeline is able to connect to other databases, in which case this 
may makes a difference.)

{quote}
3. What are the possible values & default value for isolation?
{quote}
I think you can  give only one key-value per --hiveconf option.

{quote}
4. What is the default for numberFormat? BeeLineOpts.java says "default" but I 
don't know what that means.
{quote}
could you check what SQLLine doc says?
{quote}

5. Is the description of the default for maxWidth okay? (Modified from SQLLine 
doc.)
{quote}
seems fine to me.

{quote}
6. Does showNestedErrs have a JIRA ticket? (It isn't in the SQLLine doc.)
{quote}
not as I know of.

{quote}
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)
{quote}

SQLLine has a lot of properties, a little overwhelming. I'd think we should 
probably document only that's closely tied with Hive and refer user to SQLLine 
doc for others.

> 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
>              Labels: TODOC13
>             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.2#6252)

Reply via email to