简体   繁体   English

Cube.js 无法连接来自不同数据源的表

[英]Cube.js unable to join table from different dataSources

In my cube.js server I have 2 tables from different data sources(both of them are postgres).在我的 cube.js 服务器中,我有 2 个来自不同数据源的表(它们都是 postgres)。 I'm trying to create a join on these tables but get the following error我正在尝试在这些表上创建连接,但出现以下错误

Error: Joins across data sources aren't supported in community edition.错误:社区版不支持跨数据源的联接。 Found data sources: dataSource_1, dataSource_2找到数据源:dataSource_1、dataSource_2

I have student_details cube and test_results cube (both cubes from different data source).我有 student_details 多维数据集和 test_results 多维数据集(这两个多维数据集来自不同的数据源)。

I'm trying to achieve a join on student id (test_results cube) and id (student_details cube ) but get the above error in bold.我正在尝试对学生 id (test_results cube) 和 id (student_details cube) 进行连接,但以粗体显示上述错误。

Any help or work around for this would be appreciated.对此的任何帮助或解决方法将不胜感激。

Thanks in advance提前致谢

As error says this feature isn't part of open source Cube.js edition.正如错误所说,此功能不是开源 Cube.js 版本的一部分。 As of now there's no way you can do it using open source Cube.js edition unless you implement it yourself.到目前为止,除非您自己实现,否则您无法使用开源 Cube.js 版本来做到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM