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

Improve SAMPLE Scalar Expression Example

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.17.0
    • documentation
    • None
    • Patch Available
    • Reviewed

    Description

      In the SAMPLE example in which the size is passed as a scalar expression, the numerator needs to be cast to floating point or integer division will result. Patch attached. Patch also capitalizes keywords, changes COUNT to COUNT_STAR, and changes a relation name.

      Attachments

        1. PIG-5027-1.patch
          0.7 kB
          Ian Cook

        Activity

          People

            icook Ian Cook
            icook Ian Cook
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: