Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.10.0
-
None
-
None
Description
Currently,
a = load 'data' as (i:int); b = foreach a generate i / 23;
will result in values in b being truncated to nearest int.
SQL standard says correct behavior in such cases is to return double. MySQL does this correctly as well.