You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datafu.apache.org by "Ryan Clough (JIRA)" <ji...@apache.org> on 2016/10/11 17:01:20 UTC

[jira] [Created] (DATAFU-122) Documentation error/typo on tips and tricks involving Coalesce

Ryan Clough created DATAFU-122:
----------------------------------

             Summary: Documentation error/typo on tips and tricks involving Coalesce
                 Key: DATAFU-122
                 URL: https://issues.apache.org/jira/browse/DATAFU-122
             Project: DataFu
          Issue Type: Bug
            Reporter: Ryan Clough
            Priority: Trivial


http://datafu.incubator.apache.org/docs/datafu/guide/more-tips-and-tricks.html

On this page, an example is given for Coalesce:

{code}
DEFINE EmptyBagToNullFields datafu.pig.util.Coalesce();

data = FOREACH data GENERATE Coalesce(val,0) as result;
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)