Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Beeline gives list of all columns present for a user who doesn't have access to all the columns

Beeline gives list of all columns present for a user who doesn't have access to all the columns

Contributor

Scenario:

Enable ranger plugin for hive.

Grant access to the database -> table -> few columns of the table and select access to a user/group.

Describe table throws an error: expected.

select <allowed_columns> from table ; gives results expected.

However, in case if we give a wrong column - it would suggest to choose from all the available columns on the table. Is this something expected. Can't we restrict the users from knowing the different columns that are present in the table.

1 REPLY 1

Re: Beeline gives list of all columns present for a user who doesn't have access to all the columns

This is the expected behavior from hive. @thejas can provide more insight.

Don't have an account?
Coming from Hortonworks? Activate your account here