Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14123

Add beeline configuration option to show database in the prompt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Beeline, CLI
    • None
    • New BeeLine Command option --showDbInPrompt to display the current database name in prompt

    Description

      There are several jira issues complaining that, the Beeline does not respect hive.cli.print.current.db.

      This is partially true, since in embedded mode, it uses the hive.cli.print.current.db to change the prompt, since HIVE-10511.

      In beeline mode, I think this function should use a beeline command line option instead, like for the showHeader option emphasizing, that this is a client side option.

      Attachments

        1. HIVE-14123.patch
          10 kB
          Peter Vary
        2. HIVE-14123.9.patch
          20 kB
          Peter Vary
        3. HIVE-14123.8.patch
          20 kB
          Peter Vary
        4. HIVE-14123.7.patch
          20 kB
          Peter Vary
        5. HIVE-14123.6.patch
          20 kB
          Peter Vary
        6. HIVE-14123.5.patch
          20 kB
          Peter Vary
        7. HIVE-14123.4.patch
          11 kB
          Peter Vary
        8. HIVE-14123.3.patch
          11 kB
          Peter Vary
        9. HIVE-14123.2.patch
          10 kB
          Peter Vary
        10. HIVE-14123.10.patch
          20 kB
          Peter Vary

        Issue Links

          Activity

            People

              pvary Peter Vary
              pvary Peter Vary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: