hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Jurney <russell.jur...@gmail.com>
Subject SIZE() of relation
Date Sat, 12 Jun 2010 01:42:30 GMT
Would it be possible, and not a ton of work to make the builtin SIZE() work
on a relation?  Reason being, I frequently do this:

B = GROUP A ALL;
C = FOREACH B GENERATE SIZE(A) AS total;
DUMP C;

And I would rather do this:

DUMP SIZE(A);

Russ

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message