Using parameters and variables in Hive CLI

Maciek Kocon Hadoop, Hive

In this blog post we look at how we can address a shortcoming in the Hive ALTER TABLE statement using parameters and variables in the Hive CLI (Hive 0.13 was used). There's a simple way to query Hive parameter values directly from CLI You simply execute (without specifying the value to be set):

for instance

You may use ...