AjinkyaSalvi / histogram-of-color-intensities-apache-hive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Histogram

  1. Program Details:

    (i) Date: 24th April, 2020 (ii) Language: Hive Query Language (HQL)

  2. Problem Statement:

    (i) Input: RGB color codes (might be repeated). Example: 12 123 243 - Where 12 is intensity of red, 123 is intensity of green, and 243 is intensity of blue.

    (ii) Output: The colors with their corresponding intensity and the total number of times for which the color intensity is repeated. Example: 2 123 108548 - Here, 2 is green, 123 is intensity corresponding to the clor green, and the color green with intensity 123 is repeated 108540 times.

  3. Note: I have included sample input and output .txt files.

About


Languages

Language:HiveQL 100.0%