Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: grunt
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      This feature is aimed at providing shortcuts for frequently used commands like illustrate, dump, explain, describe, quit, help etc. This feature is inspired from postgres(psql) shortcuts. I tried implementing a simple shortcut for quitting the grunt shell using \q with very minimal changes. I think this feature will help save many keystrokes for users. If this feature looks useful I can submit the current patch for review and go ahead with implementing the following shortcuts

      \i <alias> - illustrate
      \e <alias> - explain
      \de <alias> - describe
      \du <alias> - dump
      \h - help

      This will also be useful to view information about tables/statistics stored in HCatalog similar to the way psql does.
      \dt <alias> - display table
      \dm - display metadata
      etc..

      except \t, \r and \n delimiters we should be able to use all other characters as shortcuts.
      Please let me know your thoughts.

      1. PIG-2994.1.git.patch
        13 kB
        Prasanth Jayachandran
      2. PIG-2994.2.git.patch
        17 kB
        Prasanth Jayachandran
      3. PIG-2994.3.git.patch
        17 kB
        Prasanth Jayachandran
      4. PIG-2994.hotfix.patch
        1.0 kB
        Cheolsoo Park

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Prasanth Jayachandran
              Reporter:
              Prasanth Jayachandran
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development