My Oracle Support Banner

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

Last updated on NOVEMBER 08, 2022

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 <TABLE> 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.