Objects in external schema are not visible

0

I have created a database 'datashare_db' from a datashare from another aws account. This database contains a schema 'datashare_schema'. Now for granular access purpose, I have created another database 'my_db' and created an external schema 'ds_schema' in it from 'datashare_db'. The 'ds_schema' contains 'tbl_1'. I have created a user 'abc_user' and granted him a usage privilege on this 'ds_schema'. when 'abc_user' is trying to query 'tbl_1' by referencing it as 'select * from my_db.ds_schema.tbl_1', the user is getting as 'my_db.ds_schema.tbl_1 does not exists'. Any idea, why I am getting this error?

Amrut_B
gefragt vor 3 Monaten54 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen