Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-98

grunt should show full exception stack

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.2.0
    • grunt
    • None

    Description

      I suggest grunt should be more helpful with user errors. I just did one (a stupid one) and it took my too long to figure out the problem, since grunts error message was just not giving me a good hint:
      grunt> A = LOAD '/pigtestData.tsv' USING PigStorage(',') AS (user,age,cat);
      grunt> B = FILTER A BY cat == 'book';
      grunt> dump B;
      For input string: "book"
      Experts will see that I tried to use == instead of eq, however especially new users could get a little confused.
      I see two chances add Error Number and descriptive texts (Oracle style) - this quite a lot of work, or for now I suggest to simply dump the full exception text.

      At least for this early stage it would developers and users to find problems faster.

      Attachments

        1. showStackTrace-20080207.patch
          0.7 kB
          Stefan Groschupf

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            joa23 Stefan Groschupf
            joa23 Stefan Groschupf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment