sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Hao (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SENTRY-897) [column level privilege] select any_column from table, error message exposes all columns' name.
Date Fri, 11 Dec 2015 01:34:10 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hao Hao reassigned SENTRY-897:
------------------------------

    Assignee: Hao Hao

> [column level privilege] select any_column from table, error message exposes all columns'
name.
> -----------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-897
>                 URL: https://issues.apache.org/jira/browse/SENTRY-897
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 1.5.1
>            Reporter: Anne Yu
>            Assignee: Hao Hao
>
> This seems a minor issue to me, in the error message, it exposes un-authorized columns'
name.
> {code}
> 0: jdbc:hive2://anneyu-sentry-1.vpc.cloudera.> select s from test_tb;
> Error: Error while compiling statement: FAILED: SemanticException [Error 10004]: Line
1:7 Invalid table alias or column reference 's': (possible column names are: userid, name)
(state=42000,code=10004)
> {code}
> CC [~guoquan], [~sravya], [~lskuff]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message