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

order by <expression>

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.2.0
    • 0.9.0
    • None
    • None

    Description

      I want to do ORDER A BY f($0). Should be allowed. (Workaround of adding a column, sorting, then removing column is yucky and in fact impossible if I don't know the schema.)

      Important use case: ORDER A BY Random(), to do random sorting.

      Attachments

        Issue Links

          Activity

            People

              xuefuz Xuefu Zhang
              olston Christopher Olston
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: