Do not use pig, unless they are really really really huge files. Use GNU paste. http://www.gnu.org/software/coreutils/manual/html_node/paste-invocation.html
-- Gianmarco > On Thu, Sep 2, 2010 at 2:26 AM, Ramana Venkata <ram...@ohana-media.com> wrote: >> Hi >> I have 2 files, each file contains one column of data >> I want to combine the two files into single file with two columns >> >> ex: >> file1.txt >> >> raju >> krishan >> siva >> venkat >> >> >> file2.txt >> >> CSE >> IT >> MECH >> CIVIL >> >> the output file should be like this >> >> raju CSE >> krishan IT >> siva MECH >> venkat CIVIL >> >> >> >> How to do this pig script? >> >> >> thanks >> ramanaiah >> > > > > -- > Best Regards > > Jeff Zhang >