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/18 06:09:00 UTC
[jira] [Work started] (IMPALA-7721) /catalog_object web API is
broken for getting a privilege
[ https://issues.apache.org/jira/browse/IMPALA-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on IMPALA-7721 started by Fredy Wijaya.
--------------------------------------------
> /catalog_object web API is broken for getting a privilege
> ---------------------------------------------------------
>
> Key: IMPALA-7721
> URL: https://issues.apache.org/jira/browse/IMPALA-7721
> Project: IMPALA
> Issue Type: Improvement
> Components: Catalog
> Affects Versions: Impala 2.9.0, Impala 3.0
> Reporter: Fredy Wijaya
> Assignee: Fredy Wijaya
> Priority: Major
>
> {noformat}
> [localhost:21000] > show grant role foo_role;
> +----------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> | scope | database | table | column | uri | privilege | grant_option | create_time |
> +----------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> | database | foo | | | | all | false | Wed, Oct 10 2018 10:59:29.495 |
> +----------+----------+-------+--------+-----+-----------+--------------+-------------------------------+
> {noformat}
> http://localhost:25020/catalog_object?object_type=ROLE&object_name=foo_role
> {noformat}
> TCatalogObject {
> 01: type (i32) = 7,
> 02: catalog_version (i64) = 3,
> 08: role (struct) = TRole {
> 01: role_name (string) = "foo_role",
> 02: role_id (i32) = 2,
> 03: grant_groups (list) = list<string>[0] {
> },
> },
> }
> {noformat}
> http://localhost:25020/catalog_object?object_type=PRIVILEGE&object_name=server%3Dserver1-%3Edatabase%3Dfoo_role.2
> {noformat}
> Error: CatalogException: No role associated with ID: 0
> {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