Pig Command

 

A = load '$INPUT' using PigStorage(',')  AS (id:int, country:chararray, hdi:float, lifeex:int, mysch:int, eysch:int, gni:int);
B = FILTER A BY gni > 2000;
C = ORDER B BY gni;
STORE C into '$OUTPUT';

 

posted on 2017-07-27 11:23  dawangandy  阅读(114)  评论(0)    收藏  举报

导航