Book Image

Big Data Visualization

Book Image

Big Data Visualization

Overview of this book

Gain valuable insight into big data analytics with this book. Covering the tools you need to analyse data, together with IBM certified expert James Miller?s insight, this book is the key to data visualization success. ? Learn the tools & techniques to process big data for efficient data visualization ? Packed with insightful real-world use cases ? Addresses the difficulties faced by professionals in the field of big data analytics
Table of Contents (15 chapters)
Big Data Visualization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Example 2


Let's consider a few more examples.

As already mentioned, the HiveQL language is very similar to standard SQL, and it's worthy of the time taken to explore some additional data manipulations using HiveQL.

A key point is that while Hive is intended as a convenience/interface for querying large amounts of data stored in HDFS, SQL is more intended for online operations requiring many reads and writes, which is very similar with somewhat different objectives.

The following script can be used to identify the unique websites viewed in a particular month (the month of June) using the DISTINCT HiveQL function:

select distinct(mysite) from dabigdatatable where mydate = 'Jun' 

This would yield the following (partial) output:

Sorting

Just like with standard query language, you can sort (or reorder) your output (of unique websites) using a script similar to the following:

select distinct(mysite) from dabigdatatable where mydate = 'Jun' order by mysite 

This HiveQL script creates an ordered list...