Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
Description
http://datafu.incubator.apache.org/docs/datafu/guide/more-tips-and-tricks.html
On this page, an example is given for Coalesce:
DEFINE EmptyBagToNullFields datafu.pig.util.Coalesce(); data = FOREACH data GENERATE Coalesce(val,0) as result;
In this example, "EmpyBagToNullFields" should be replaced with "Coalesce", which is what is used in the code following the define statement. My guess is this is a copy paste error from an example further down when EmpyBagToNullFields is actually used.