Coder Social home page Coder Social logo

hive_case_study's Introduction

Hive_Case_Study

Problem Statement

With online sales gaining popularity, tech companies are exploring ways to improve their sales by analysing customer behaviour and gaining insights about product trends. Furthermore, the websites make it easier for customers to find the products they require without much scavenging. Needless to say, the role of big data analysts is among the most sought-after job profiles of this decade. Therefore, as part of this assignment, we will be challenging you, as a big data analyst, to extract data and gather insights from a real-life data set of an e-commerce company.

For this assignment, you will be working with a public clickstream dataset of a cosmetics store. Using this dataset, your job is to extract valuable insights which generally data engineers come up within an e-retail company.

The implementation phase can be divided into the following parts:

Copying the data set into the HDFS:

Launch an EMR cluster that utilizes the Hive services, and

Move the data from the S3 bucket into the HDFS

Creating the database and launching Hive queries on your EMR cluster:

Create the structure of your database,

Use optimized techniques to run your queries as efficiently as possible

Show the improvement of the performance after using optimization on any single query.

Run Hive queries to answer the questions given below.

Cleaning up

Drop your database, and

Terminate your cluster

You are required to provide answers to the questions given below.

Find the total revenue generated due to purchases made in October.

Write a query to yield the total sum of purchases per month in a single output.

Write a query to find the change in revenue generated due to purchases from October to November.

Find distinct categories of products. Categories with null category code can be ignored.

Find the total number of products available under each category.

Which brand had the maximum sales in October and November combined?

Which brands increased their sales from October to November?

Your company wants to reward the top 10 users of its website with a Golden Customer plan. Write a query to generate a list of top 10 users who spend the most.

hive_case_study's People

Contributors

spjvrayudu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.