hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reju R <>
Subject pivot table in hive
Date Fri, 03 Jun 2011 11:45:06 GMT
Hi Experts,

           I need one solution for hive in my project. Actually I have to
create a pivot table type of concept in hive. I don't know how to do the
same. But I have studied and implemented in hive for the same. But by
looking into it, I am not satisfied with the solution and I am not knowing
about the performance overhead also.  You people please inform me whether
any other way better than this to implement pivot table in hive.

I have referenced the following site for understanding the basic concept of
pivot table.

I am attaching the input file and hive implementation which I have done for
the same.


1. testfile_pivot.txt : This file contains the input data for creating table
for both sql server and hive. You please remove the heading and the under
line and load data into hive
2. pivottable.txt : contains sql server command for creating table,
populating table and pivot table creation and hive command for table
creation. loading data into hive and .
                          pivot  table creation statements etc

                         Please reply me your suggestions.

Thanks and Regards
Reju. R

View raw message