Be careful, with COUNT your first item in the bag must not be null. Else you can use the function COUNT_STAR to count all rows.
↧
Answer by Kevin for PIG how to count a number of rows in alias
↧
Be careful, with COUNT your first item in the bag must not be null. Else you can use the function COUNT_STAR to count all rows.