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

FOREACH doesn't allow explicit schema for MAX() result to be chararray

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Cannot Reproduce
    • 0.8.1
    • 0.9.0
    • parser
    • None

    Description

      Here: http://pig.apache.org/docs/r0.9.0/func.html#max
      It says MIN/Max can be used on chararray, but the result of those functions is always a double.
      Had to search through the Pig Javadoc to find that I should use StringMin/StringMax instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grlea Graham Lea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: