pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-2902) Pig defaults numeric types to integer instead of double
Date Sun, 02 Sep 2012 23:09:07 GMT
Jie Li created PIG-2902:
---------------------------

             Summary: Pig defaults numeric types to integer instead of double
                 Key: PIG-2902
                 URL: https://issues.apache.org/jira/browse/PIG-2902
             Project: Pig
          Issue Type: Bug
            Reporter: Jie Li


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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message