White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

PigのスクリプトをGraphvizで表示する

PigのExplain文にはgraphvizのdotファイルで出力する機能があるので、それを使ってGVEditというので開くとPigの処理内容を図示できる


元記事: Visualizing Pig explain plans http://www.simon-fortelny.com/?p=118

元のスクリプト

student = LOAD './student.tsv' AS ( name:chararray, class:int );
scr = LOAD './score.tsv' AS ( name:chararray, score:int );

join_student_score = JOIN student by (name), scr by (name);
store join_student_score into 'join_student_score';