Question
The purpose of this assignment is to familiarize with the map-reduce paradigm. Consider a shopping database relational schema with one table as Purchase( City, ProductCategory,
The purpose of this assignment is to familiarize with the map-reduce paradigm.
Consider a shopping database relational schema with one table as Purchase( City, ProductCategory, Price, PaymentMode ) A custom data set (as a CSV file) has been created for you. You need to write and test three python scripts to process this sales data information (500,000 records) to answer three questions.
Please write a python script for the following question based on the database using City, ProductCategory, Price, PaymentMode:
What is the city that had the highest total amount of gross revenue?
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