Executing Hive Query From Terminal

The aim of this post is to let you know how to execute a Hive query from command line (terminal) to fetch the records from Hive Metastore.

The below is the way to execute HiveQL command from the terminal.
hive -e ‘select * from sampletab6’

RunQueryFromCLI

Hope you like this post.

Please do follow for more interesting updates.

One comment

Leave a Reply