You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fredy Wijaya (JIRA)" <ji...@apache.org> on 2018/10/12 17:11:00 UTC
[jira] [Commented] (IMPALA-7671) SHOW GRANT USER ON
[ https://issues.apache.org/jira/browse/IMPALA-7671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648151#comment-16648151 ]
Fredy Wijaya commented on IMPALA-7671:
--------------------------------------
IMPALA-7671: Fix broken SHOW GRANT USER ON <object>
This patch fixes the broken SHOW GRANT USER ON <object> that always
shows an empty result due to incorrect comparison between TPrivilege for
the filter vs TPrivilege for the actual privilege that should not
consider the "grantoption".
Testing:
- Added new E2E tests
- Ran all FE tests
- Ran all authorization E2E tests
Change-Id: I7adc403caddd18e5a954cf6affd5d1d555b9f5f0
Reviewed-on: http://gerrit.cloudera.org:8080/11598
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> SHOW GRANT USER ON <object> is broken
> -------------------------------------
>
> Key: IMPALA-7671
> URL: https://issues.apache.org/jira/browse/IMPALA-7671
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 3.1.0
> Reporter: Fredy Wijaya
> Assignee: Fredy Wijaya
> Priority: Major
> Fix For: Impala 3.1.0
>
>
> {noformat}
> [localhost:21000] default> show grant user foobar;
> Query: show grant user foobar
> +----------------+----------------+--------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> | principal_type | principal_name | scope | database | table | column | uri | privilege | grant_option | create_time |
> +----------------+----------------+--------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> | USER | foobar | table | default | foo | | | owner | true | Fri, Oct 05 2018 11:38:14.173 |
> +----------------+----------------+--------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> [localhost:21000] default> show grant user foobar on table foo;
> Query: show grant user foobar on table foo
> Fetched 0 row(s) in 0.01s
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org