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

Answer by hello_abhishek for PIG how to count a number of rows in alias

$
0
0

USE COUNT_STAR

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

Viewing all articles
Browse latest Browse all 8

Trending Articles



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