We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug In a view, excludes would not actually exclude members of a referenced cube if that cube is defined with prefix: true or some alias.
excludes
prefix: true
alias
To Reproduce Steps to reproduce the behavior:
cubes: - name: other_cube sql: SELECT 123 AS id dimensions: - name: id sql: id type: number primary_key: true - name: cube sql: > SELECT 1 AS id, 123 AS other_id UNION SELECT 2 AS id, 123 AS other_id joins: - name: other_cube relationship: one_to_one sql: "{CUBE.other_id} = {other_cube.id}" dimensions: - name: id sql: id type: number primary_key: true - name: other_id sql: other_id type: number views: - name: view cubes: - join_path: cube includes: "*" excludes: - id - join_path: cube.other_cube prefix: true # alias: another includes: "*" excludes: - id
Expected behavior Out of 3 dimensions, only other_id should be included in the view.
other_id
Screenshots
Version: 0.33.41
The text was updated successfully, but these errors were encountered:
Just adding that it also does not work if prefix=false at least for dimensions
Sorry, something went wrong.
fix(schema-compiler): Incorrect excludes resolution with prefixed inc…
e32f114
…ludes, fix #7100
f89ef8d
ovr
No branches or pull requests
Describe the bug
In a view,
excludes
would not actually exclude members of a referenced cube if that cube is defined withprefix: true
or somealias
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Out of 3 dimensions, only
other_id
should be included in the view.Screenshots
Version:
0.33.41
The text was updated successfully, but these errors were encountered: