hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <>
Subject [jira] [Commented] (HIVE-6173) Beeline doesn't accept --hiveconf option as Hive CLI does
Date Wed, 18 Jun 2014 16:04:24 GMT


Xuefu Zhang commented on HIVE-6173:

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

2. Is the autoCommit default false as shown in or true as shown in the SQLLine
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.)

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

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

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

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

7. Should any of these options be documented?

    --incremental (in BeeLineOpts & SQLLine doc, but not in
    --showElapsedTime (in BeeLineOpts, not in nor SQLLine doc)
    --maxHeight (ditto)
    --timeout (ditto)
    --trimScripts (ditto)
    --allowMultiLineCommand (ditto)

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:
>             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

View raw message