Hi, Could pig recognize files name are importing ? If could, how to do ? I want to combine them according filename.
Exp: google_2009_12_21.csv, google_2010_01_21.csv, google_2010_02_21.csv, baidu_2009_11_22.csv, baidu_2010_01_01.csv, baidu_2010_02_03.csv, .... Sort and combine by name, then output two files: google_all.csv, baidu_all.csv in a pig script. Best Regards, Jumping Qu ------ Don't tell me how many enemies we have, but where they are! (ADV:Perl -- It's like Java, only it lets you deliver on time and under budget.)
