You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:17:01 UTC

[jira] [Resolved] (SPARK-20870) Update the output of spark-sql -H

     [ https://issues.apache.org/jira/browse/SPARK-20870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-20870.
----------------------------------
    Resolution: Incomplete

> Update the output of spark-sql -H
> ---------------------------------
>
>                 Key: SPARK-20870
>                 URL: https://issues.apache.org/jira/browse/SPARK-20870
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Xiao Li
>            Priority: Major
>              Labels: bulk-closed, starter
>
> When we input `./bin/spark-sql -H`, the output is still based on Hive. We need to check whether all of them are working correctly. If not supported, we need to remove it from the list. 
> Also, update the first line to `usage: spark-sql`
> {noformat}
> usage: hive
> -d,--define <key=value>          Variable subsitution to apply to hive
>                                   commands. e.g. -d A=B or --define A=B
>     --database <databasename>     Specify the database to use
> -e <quoted-query-string>         SQL from command line
> -f <filename>                    SQL from files
> -H,--help                        Print help information
>     --hiveconf <property=value>   Use value for given property
>     --hivevar <key=value>         Variable subsitution to apply to hive
>                                   commands. e.g. --hivevar A=B
> -i <filename>                    Initialization SQL file
> -S,--silent                      Silent mode in interactive shell
> -v,--verbose                     Verbose mode (echo executed SQL to the
>                                   console)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org