-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Sandboxing on linked table column with multiple dimensions and remapping, then "dirty" query fails #15106
Labels
Administration/Data Sandboxes
Enterprise Sandboxing
Administration/Table Metadata
Priority:P2
Average run of the mill bug
Querying/Nested Queries
Questions based on other saved questions
Querying/Remapping
Remapped display values, whether human-readable values or Field->Field remappings
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Projects
Milestone
Comments
flamber
added
Type:Bug
Product defects
Priority:P2
Average run of the mill bug
Administration/Table Metadata
Administration/Data Sandboxes
Enterprise Sandboxing
labels
Mar 9, 2021
nemanjaglumac
added a commit
that referenced
this issue
Mar 13, 2021
…umn with multiple dimensions and remapping (#15141)
flamber
added
the
Querying/Nested Queries
Questions based on other saved questions
label
Nov 2, 2021
flamber
added
the
Querying/Remapping
Remapped display values, whether human-readable values or Field->Field remappings
label
Mar 3, 2022
This was referenced Jan 11, 2024
This was referenced Feb 6, 2024
Open
This was referenced Mar 26, 2024
Merged
This was referenced Apr 9, 2024
Merged
Merged
This was referenced Apr 23, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Administration/Data Sandboxes
Enterprise Sandboxing
Administration/Table Metadata
Priority:P2
Average run of the mill bug
Querying/Nested Queries
Questions based on other saved questions
Querying/Remapping
Remapped display values, whether human-readable values or Field->Field remappings
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Describe the bug
When having multiple dimensions and remapping on one of them, and sandboxing a linked table column, then "dirty" queries fail.
To Reproduce
user_id
=1
a. Order > User ID > "Display values" = "Use foreign key" (Name)
b. Reviews > Product ID > change foreign key reference from "Products.ID" to "Orders.ID"
a. Sandbox Orders with column "Orders.User_ID" = attribute
user_id
b. Sandbox People with column "People.ID" = attribute
user_id
c. Sandbox Reviews with column "Order.User_ID" (yes, linked column) = attribute
user_id
You do not have permissions to run this query.
Full stacktrace
Alternatively, remove the remapping in step 2a, then the query works (even "dirty").
Information about your Metabase Installation:
Tested 1.36.8 thru 1.38.1
Additional context
Related to #15105
The text was updated successfully, but these errors were encountered: