Using COLLECT_LIST Function In A Select Statement Failed With Error For Sentry Enabled Cluster (Doc ID 2010861.1)

Last updated on JULY 12, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.1.0 and later
Linux x86-64

Symptoms

In Hue-Hive Editor and Beeline command line, using collect_list function in a select statement such as the following:

 

SELECT filename, collect_list(filename) from crc.crc_file group by filename;


failed with the following error:

Error: Error while compiling statement: FAILED: SemanticException No valid privileges
Required privileges for this query: (state=42000,code=40000)


The same select statement works in Hive Client command line.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms