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

Add Grunt command to list the statements in cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.11
    • None
    • Reviewed
    • Hide
      Add new grunt command:
      history [-n]: Display the list statements in cache. -n means hiding line numbers.
      Show
      Add new grunt command: history [-n]: Display the list statements in cache. -n means hiding line numbers.

    Description

      It is convenient to list statements in cache:

      grunt> a = load '1.txt';
      grunt> b = foreach a generate $0, $1;
      grunt> list
      a = load '1.txt';
      b = foreach a generate $0, $1;

      Attachments

        1. gruntHistory4.patch
          0.7 kB
          Allan Avendaño
        2. gruntHistory3.patch
          5 kB
          Allan Avendaño
        3. gruntHistory2.patch
          4 kB
          Allan Avendaño
        4. gruntHistory1.patch
          5 kB
          Allan Avendaño
        5. gruntHistory.patch
          4 kB
          Allan Avendaño

        Activity

          People

            xalan Allan Avendaño
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: