How to view the value of a hive variable?

abu picture abu · Jun 18, 2013 · Viewed 21.2k times · Source

How do you view the value of a hive variable you have set with the command "SET a = 'B,C,D'"? I don't want to use the variable- just see the value I have set it to. Also is there a good resource for Hive documentation like this? The Apache website is not very helpful.

Answer

abu picture abu · Jul 17, 2013

Found my answer. The answer is simply: "Set a;" Stupid syntax IMO, but thats the way it is.