You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/06/05 01:25:38 UTC
[jira] [Commented] (DRILL-2595) Sqlline Usage needs to be corrected
[ https://issues.apache.org/jira/browse/DRILL-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573787#comment-14573787 ]
Daniel Barclay (Drill) commented on DRILL-2595:
-----------------------------------------------
Abhishek,
Do these problems still exist (in the new SQLLine)?
> Sqlline Usage needs to be corrected
> -----------------------------------
>
> Key: DRILL-2595
> URL: https://issues.apache.org/jira/browse/DRILL-2595
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - CLI
> Affects Versions: 0.8.0
> Reporter: Abhishek Girish
> Assignee: Daniel Barclay (Drill)
> Fix For: 1.1.0
>
>
> Sqlline usage needs to be corrected.
> (1) Remove the statement "java sqlline.SqlLine "
> (2) Display usage only once
> {code}
> >sqlline --help
> Drill log directory: /var/log/drill
> Usage: java sqlline.SqlLine
> -u <database url> the JDBC URL to connect to
> -n <username> the username to connect as
> -p <password> the password to connect as
> -d <driver class> the driver class to use
> --color=[true/false] control whether color is used for display
> --showHeader=[true/false] show column names in query results
> --headerInterval=ROWS; the interval between which heades are displayed
> --fastConnect=[true/false] skip building table/column list for tab-completion
> --autoCommit=[true/false] enable/disable automatic transaction commit
> --verbose=[true/false] show verbose error messages and debug info
> --showTime=[true/false] display execution time when verbose
> --showWarnings=[true/false] display connection warnings
> --showNestedErrs=[true/false] display nested errors
> --numberFormat=[pattern] format numbers using DecimalFormat pattern
> --force=[true/false] continue running script even after errors
> --maxWidth=MAXWIDTH the maximum width of the terminal
> --maxColumnWidth=MAXCOLWIDTH the maximum width to use when displaying columns
> --silent=[true/false] be more silent
> --autosave=[true/false] automatically save preferences
> --outputformat=[table/vertical/csv/tsv] format mode for result display
> --isolation=LEVEL set the transaction isolation level
> --run=/path/to/file run one script and then exit
> Usage: java sqlline.SqlLine
> -u <database url> the JDBC URL to connect to
> -n <username> the username to connect as
> -p <password> the password to connect as
> -d <driver class> the driver class to use
> --color=[true/false] control whether color is used for display
> --showHeader=[true/false] show column names in query results
> --headerInterval=ROWS; the interval between which heades are displayed
> --fastConnect=[true/false] skip building table/column list for tab-completion
> --autoCommit=[true/false] enable/disable automatic transaction commit
> --verbose=[true/false] show verbose error messages and debug info
> --showTime=[true/false] display execution time when verbose
> --showWarnings=[true/false] display connection warnings
> --showNestedErrs=[true/false] display nested errors
> --numberFormat=[pattern] format numbers using DecimalFormat pattern
> --force=[true/false] continue running script even after errors
> --maxWidth=MAXWIDTH the maximum width of the terminal
> --maxColumnWidth=MAXCOLWIDTH the maximum width to use when displaying columns
> --silent=[true/false] be more silent
> --autosave=[true/false] automatically save preferences
> --outputformat=[table/vertical/csv/tsv] format mode for result display
> --isolation=LEVEL set the transaction isolation level
> --run=/path/to/file run one script and then exit
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)