Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The following doesn't work
b = group a by query; c = filter b by MAX((bag{tuple(int)})a.datetime) > 0;
I get a complaint about mismatched ; on the MAX line.
However the following does work
c = foreach b { generate MAX((bag{tuple(int)})a.datetime) as max_dt; }
How come the bag{tuple(int)} casting works in generate statement but not in filter statement?