Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

How to compare line by line in two text in pig hadoop

$
0
0

File 1:
123456 raj kall dno 23 23-02-1984 xyz
123457 Tal dall dno 23 23-02-1985 xyz
123458 aaa fff dno 23 23-02-1986 xyz
123459 gg hhhh dno 23 23-02-1987 xyz
123460 aa hhhh dno 23 23-02-1987 xyz
123461 bb hhhh dno 23 23-02-1987 xyz
file 2 :
123456 raj kall dno 23 23-02-1984 xyz
123457 Tal dall dno 23 23-02-1985 xyz
123458 aaa uuu dno 23 23-02-1986 xyz
123459 gg hhhh dno 23 23-02-1987 xyz
123461 bb hhhh dno 23 23-02-1987 xyz

output :
123458 aaa fff dno 23 23-02-1986 xyz
123460 aa hhhh dno 23 23-02-1987 xyz
123461 bb hhhh dno 23 23-02-1987 xyz


Viewing all articles
Browse latest Browse all 3435

Trending Articles