[ https://issues.apache.org/jira/browse/IMPALA-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fredy Wijaya updated IMPALA-7721: --------------------------------- Summary: /catalog_object web API is broken for getting a privilege (was: /catalog_object web API is broken) > /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-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org