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

limit changes order of order-by to ascending

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • None
    • None

    Description

      grunt> a = load 'students.txt' as (c1,c2,c3,c4);
      grunt> s = order a by c1 desc;
      grunt> dump s;
      (zxldf,M,21,12.56)
      (uhsdf,M,34,12.11)
      (qwer,F,21,14.44)
      (qwer,F,23,145.5)
      (oiue,M,54,23.33)
      (asdfxc,M,23,12.44)

      grunt> l = limit s 3;
      grunt> dump l;
      (asdfxc,M,23,12.44)
      (oiue,M,54,23.33)
      (qwer,F,21,14.44)

      Attachments

        1. PIG-876-1.patch
          2 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: