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

          Prasanth Jayachandran created issue -
          Prasanth Jayachandran made changes -
          Field Original Value New Value
          Attachment PIG-2994.1.git.patch [ 12555666 ]
          Prasanth Jayachandran made changes -
          Assignee Prasanth J [ prasanth_j ]
          Prasanth Jayachandran made changes -
          Attachment PIG-2994.2.git.patch [ 12567262 ]
          Prasanth Jayachandran made changes -
          Attachment PIG-2994.3.git.patch [ 12567394 ]
          Cheolsoo Park made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Cheolsoo Park made changes -
          Link This issue breaks PIG-3168 [ PIG-3168 ]
          Cheolsoo Park made changes -
          Link This issue breaks PIG-3171 [ PIG-3171 ]
          Cheolsoo Park made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Cheolsoo Park made changes -
          Attachment PIG-2994.hotfix.patch [ 12568461 ]
          Cheolsoo Park made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Cheolsoo Park made changes -
          Fix Version/s 0.12 [ 12323380 ]
          Daniel Dai made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development