Setting up a Hive client
As a Hive user who connects to HiveServer2 from a client, you need to know how to set up the client for using HPL/SQL.
hive.security.authorization.sqlstd.confwhitelist.append=QUERY_EXECUTOR
in Hive Service Advanced Configuration Snippet (Safety Valve) for
hive-site.xml before running HPL/SQL queries.