hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Gaudet (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-704) Interactive mode doesn't list defined aliases
Date Wed, 11 Mar 2009 17:54:50 GMT

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

Eric Gaudet updated PIG-704:

    Attachment: aliases_last2.patch

Here's a revised version of the patch that removes the alias "_". Instead, the describe parameter
is optional: if no alias is passed, it describes the last created alias.

I didn't realize grunt had autocompletion. It would be nice to have autocompletion of the
aliases where needed. However, this is a different feature that complements the ones described
in this bug. I will create a different bug for it and submit a patch. Since both features
are independant, feel free to accept or reject either or both.

> Interactive mode doesn't list defined aliases
> ---------------------------------------------
>                 Key: PIG-704
>                 URL: https://issues.apache.org/jira/browse/PIG-704
>             Project: Pig
>          Issue Type: Improvement
>          Components: grunt
>            Reporter: Eric Gaudet
>            Priority: Trivial
>         Attachments: aliases_last.patch, aliases_last2.patch
> I'm using the interactive mode to test my scripts, and I'm struggling to keep track of
2 things:
> 1) the aliases. A typical test script has 10 aliases or more. As the test goes on, different
versions are created, or aliases are created with typos. There's no command in grunt to get
the list of defined aliases. Proposed solution: add a new command "aliases" that prints the
list of aliases.
> 2) I prefer to give meaningful (long) names to my aliases. But as I try different things,
I find it hard to predict what the schema will look like, so I use DESCRIBE a lot. It's a
pain to type these long names all the time, especially since most of the time I only want
to describe the last alias created. A shortcut to the describe command describing the last
alias will be very useful. Proposed solution: use the special name "_" as a shortcut to the
last created alias: DECRIBE _.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message