Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20870

Update the output of spark-sql -H

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: SQL

      Description

      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`

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smilegator Xiao Li
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: