Open oxoxlol opened 2 weeks ago
I' sorry for being intrusive.
But maybe we should add another tag to this issue?
It's both “enhancement” and “help wanted” and maybe “bug”, I'm not sure.
But I really wanted to get feedback so I know that the request won't go to the bottom without a response.
Problem
I've asked this question on stackoverflow (https://stackoverflow.com/questions/79044418/transitive-join-to-an-entity-referenced-by-several-other-entities) before, but didn't get an answer. I decided to duplicate the question here.
I have this schema
I build a view based on the model described above:
The problem is that when cube nation references 2 cubes: 1) customer 2) supplier
In the view I want to display the supplier nation and customer nation at the same time.
However, for some reason, the nation cube is always jojointed only once. And always only for the first join_path. The direction of the joins is done using “dot notation”, but this only helps to select the correct path for the first join. The second one is ignored.
I thought that these issues would help me somehow in my question, but they did not: 1) https://github.com/cube-js/cube/issues/438 2) https://github.com/cube-js/cube/issues/8499
Please suggest how I can solve my problem.
Related Cube.js generated SQL
My SQL query in Dbeaver
P.S. I would also like to take this opportunity to note that I would also be happy to “vote” in favor of extending the naming to other languages .Referring to the issues 1) https://github.com/cube-js/cube/issues/3238 2) https://github.com/cube-js/cube/issues/7665 Although I understand that Localization is currently outside of Cube Core's scope, but still I would like to mention that as a member of your community I am very interested in this feature.