Answered step by step
Verified Expert Solution
Question
1 Approved Answer
implement a natural join operation using mrjob. The natural join operation takes on two input files shown as follows. In this assignment, you are going
implement a natural join operation using mrjob. The natural join operation takes on two input files shown as follows.
In this assignment, you are going to implement a natural join operation using mrjob The natural join operation takes on two input files shown as follows Mary James, 7001234567,22,CS Peter Pan, 7009998888,20, CyberSecurity Micky Mouse,700 1112222,19, CS John Smith,7004545454,25, Game Development Bob Don, 7005555222,32, Software Design Compiler, A,7001234567 Compiler, B, 7009998888 Algorithm, B,7009998888 Algorithm, C, 7001112222 Big Data, A 7001234567 Game Programming, C,7009998888 Data Structure, A,7009998888 Android Programming, B,7001112222 Big Data, C, 7003456123 Big Data, B,7009998888 Programming Language, B,7001234567 Programming Language, A,7001112222 For an example on how the natural join operation works refers to our lecture slides To test the code, use the following command python MRNatural Join. py names. txt grades .txt output.txt The expected results should look like the following 7001112222" [["Micky Mouse 19", "CS"], ["Algorithm C"]] 7001112222" Micky Mouse", "19", "CS"], ["Android Programming", B"]] "7001112222" Micky Mouse", 19", "CS", ["Programming Language A"]] 7001234567" "Mary James 22", "CS"], ["Big Data A 7001234567" [["Mary James "22", "CS"], ["Compiler A 7001234567" Mary James 22", "CS"], ["Programming Language B"]] 7009998888" Peter Pan "20", "CyberSecurity"], ["Algorithm", B"]] 7009998888" Peter Pan 20", CyberSecurity"], ["Big Data B"]] 7009998888" Peter Pan "20", "CyberSecurity"], ["Compiler", B 7009998888" Peter Pan 20", "Cyber Securi ["Data Structure 7009998888 Peter Pan 20" Cyber Securi Game Programming". C ll
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started