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

Roberta Marton closed TRAFODION-2188.
-------------------------------------
    Resolution: Fixed

Fix delivered

> Insufficient privileges on sample table error message from an Update 
> Statistics operation
> -----------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-2188
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2188
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-security
>            Reporter: Roberta Marton
>            Assignee: Roberta Marton
>
> According to documentation, to update stats, you must:
> -- be DB__ROOT
> -- be table owner
> -- have the MANAGE_STATISTICS privilege (DB__ROOTROLE has priv)
> sql_user3 has MANAGE_STATISTICS  privilege but still gets insufficient privs 
> error -  only if the table has enough rows to create a sample table and table 
> exists in a private schema:
> As db__root create a private schema, table t132t3 and load data.
> grant component privilege MANAGE_STATISTICS on sql_operations to sql_user3;
> As sql_user3 - update statistics for table t132t3 create sample random 10 
> percent;
> *** ERROR[9214] Object 
> TRAFODION.T132SCH_PRIVATE.TRAF_SAMPLE_78_1472162288_609978 could not be 
> created.
> *** ERROR[1017] You are not authorized to perform this operation.
> .



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

Reply via email to