VeLKerr
VeLKerr

Reputation: 3157

Displaying the current value of the hive variable

I know, that I can set different parameters in hive using SET keyword. For example:

SET orc.compress = SNAPPY

But how I can display current value of the hive parameter? I tried to use SELECT clause in several variations. For example:

SELECT * From ${orc.compress};

But no one of them aren't workig.

Upvotes: 3

Views: 1119

Answers (1)

Mukesh S
Mukesh S

Reputation: 2876

Just give:

SET <varibale_name> ;

It will display the latest value stored.

Upvotes: 4

Related Questions