Open mitalauskas opened 3 weeks ago
@mitalauskas Thanks for reporting this! Currently, this kind of self-join is not supported in the SQL API. We can use this issue to track it further. The current workaround would be to hold on using the Preset feature that causes this.
Hey, Igor. I also noticed that the same issue happens when trying to use limiting filters (for limiting series in charts) in Tableau.
Failed SQL
Logical Plan
Error: Error during rewrite: Use __cubeJoinField to join Cubes.
Version: v0.35.52
Additional context In Preset, I'm trying to add a series limit on my dimension split. However, as it's trying to run a subquery, Cube is spitting out an error.![image](https://github.com/cube-js/cube/assets/42994656/c8642918-17b7-49d2-87c0-0aac22b71e29)