cancel
Showing results for 
Search instead for 
Did you mean: 

Privillage issue

Former Member
0 Kudos

MY views are successfully validating and activating but when i click on data preview i'm getting below error

I tried with this sql query

GRANT SELECT ON SCHEMA <SCHEMANAME> TO REPOSITORY NAME

GRANT SELECT ON SCHEMA HANAUSER TO "_SYS_REPO";

BEFORE I  execute this query my views are not activated now my views are activating but i'm getting below error while clicking on data preview

Accepted Solutions (0)

Answers (1)

Answers (1)

patrickbachmann
Active Contributor
0 Kudos

1) I'm assuming the user doing the data preview is not the same user that modeled the view?

2) If above is true make sure this user has access to the package and any Analytic Privilege that may be associated with that view.

-Patrick

Former Member
0 Kudos

Thank you