-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to use pre-aggregations with MongoDB #2858
Comments
is it expected that external pre-aggregations via cubestore or mysql would work with the current mongobi driver? If so, that could be part of the error messaging for
|
@mspiegel31 It's not, unfortunately, because Cube.js wouldn't build pre-aggregations with MongoDB as a data source. |
I'm not familiar with cube's current pre- aggregation implementation, but would that be an acceptable workaround? "Make MongoBI driver compatible with external preaggregations"? As I understand it, CubeJS is tied pretty heavily to SQL syntax. The ability to leverage pre-aggregations at all would be a big win for our team, and if it's less work to make it work with an external DB, I imagine that would be enough for most current mongo users. |
@igorlukanin @mspiegel31
|
This one should be resolved. If you think it isn't please create a new issue. |
Describe the bug
Cube.js connects to MongoDB via its BI Connector which is accessed in the read-only fashion. That's why Cube.js is unable to store temporary tables when building pre-aggregations. So, it's also unable to determine the types of the values in the query result. This leads to no pre-aggregations possible when using MongoDB.
To Reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: