Question

I want to do table comparison in Hive. It is very hard to do that in the console. Is there any client tool to view the Hive query results such as SQL Developer

Was it helpful?

Solution 3

As both SQL Dev and Squirrel SQL works good and also the setup is quite easy in Squirrel SQL. The same is true for SQL Dev also. For those who are looking for a out of box solution, please also check Beeswex provided by Cloudera https://ccp.cloudera.com/display/HUE/Beeswax#Beeswax-BeeswaxandHiveInstallationandConfiguration.

OTHER TIPS

SQL developer supports other types of databases, other than Oracle. You just need the jdbc driver for hive, and configure that in SQL Developer.

I don't have it in front of me, but if I remember, you go to Tools->Preferences->Third Party JDBC Drivers, and then add the Hive JDBC driver. I have had some difficulty getting this to work, esp. in the Linux client. Good luck!

I see one issue of hive which is about Hive JDBC integration with SQuirrel SQL Client.

With it, you can browse the hive table's structure (table's column and their data type) and SQL query through Squirrel SQL client.

Maybe you can look into it to see if it works.

I actually needed something like this recently. I looked around and came up with this: http://stratapps.com/HiveSQL.php

The screenshot there is not it... I think it shows the history of the queries, but the app itself contains an area where it shows the table of the Hive query results and you can export it to excel to do the comparison there. Hope that helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top