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

Pig defaults numeric types to integer instead of double

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This was observed in PIG-2835, where Pig defaults the type used in SUM() as integer while it's actually double, thus parsing each number to integer would throw an exception. PIG-2835 replaced the expensive exception handling with a light weight sanity check, but do we really want to default the numeric types to integer?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jay23jack Jie Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: