Uploaded image for project: 'DataFu'
  1. DataFu
  2. DATAFU-122

Documentation error/typo on tips and tricks involving Coalesce

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2

      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.

        Attachments

          Activity

            People

            • Assignee:
              eyal Eyal Allweil
              Reporter:
              rclough Ryan Clough
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: