Quantcast
Channel: PIG how to count a number of rows in alias - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by Arnon Rotem-Gal-Oz for PIG how to count a number of rows in alias

$
0
0

COUNT is part of pig see the manual

LOGS= LOAD 'log';LOGS_GROUP= GROUP LOGS ALL;LOG_COUNT = FOREACH LOGS_GROUP GENERATE COUNT(LOGS);

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>