从 Power BI 桌面访问 AWS Redshift 数据共享

0

【以下的问题经过翻译处理】 我想问一下,有没有人成功地从类似 Power BI 这样的数据分析工具连接到 AWS Redshift 数据共享的消费者数据库?我正在尝试将我的 Redshift 数据共享的消费者数据库连接到 Power BI,但在连接时,我只看到了连接到集群自己的数据库而不是共享的数据库的选项。

谁能成功地完成这个任务?谢谢。

profile picture
EXPERT
demandé il y a 5 mois30 vues
1 réponse
0

【以下的回答经过翻译处理】 由于它是外部数据库,因此您无法连接到从datasharing创建的数据库。 Redshift具有跨数据库查询功能,允许您通过<database> . <schema> . <table>访问其他数据库中的表,但是某些BI工具不兼容此语法。 在这种情况下,您可以在本地数据库中创建一个引用外部数据库的外部模式。

dev <- 本地数据库
┗公共
┗public_ext <- 创建此架构
dev_ext <- 来自datasharing的外部数据库
┗公共

创建架构的查询:

CREATE EXTERNAL SCHEMA public_ext FROM REDSHIFT DATABASE 'dev_ext' SCHEMA 'public';
profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions