Charles,

The right forum for Pig is [EMAIL PROTECTED], I'm redirecting you there... good luck!

Arun

On Jul 18, 2008, at 11:51 AM, charles du wrote:

Hi:

Just start learning hadoop and pig latin. How can I get the number of
elements in a data bag?

For example, a data bag like follow has four elements.
  B= {1, 2, 3, 5}

I tried C = COUNT(B), it did not work. Thanks.

--
tp

Reply via email to