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
Filtering Issue on UUID Column in Version 0.49.0 #40176
Comments
What is the actual data type in the db? |
"id" uuid DEFAULT uuid_generate_v4(), |
Facing the same issue, filtering on UUID is broken here is the console log issue troubleshoot logs
|
Same issue here, here is the troubleshooting log I get:
|
Hi - We have this exact same issue 0.49.0 - Can it be prioritised? |
I too am getting the same issue after upgrading to v49:
This comes from this SQL:
|
Can we please treat this as high priority item? For many people they use uuid as their primay id. I test with v0.49.1 and the issue is still there. Im not able to downgrade back to 0.48 for some reason (cause major version?). Our ability to explore the data is stopped right now under your mercy. |
Hi - We have this exact same issue 0.49.0 - Can it be prioritized? |
Hi - we still cannot filter UUIDs with 49.1 and cannot bring back .48 (major version downgrade does not work) Thanks again for prioritising this item |
Following the update to version 49.1, we are still encountering the previously reported issue. Could we prioritize its resolution? |
To enhance efficiency and automation of the process outlined by @hnb2 , the following SQL command is crafted for direct execution in your Metabase database: UPDATE metabase_field
SET has_field_values = 'none'
WHERE has_field_values IS NULL
AND effective_type = 'type/UUID'
AND semantic_type = 'type/PK'; This approach has been proven effective in our operational context. |
Thanks @hnb2 But we need the actual fix as we have tons of databases connected, and altering the metadata for all of them is not a viable options for us |
Hello, following the update to 0.49.5, I still have the issue, clicking on the filter option from a PK column do nothing, search box doesn't show up |
This issue shouldn't be closed as it still exists in both the v48 and v49 releases. |
Describe the bug
When attempting to apply a filter on a UUID column within a table in our database, the operation consistently fails, and the error message "Something's gone wrong" is displayed. This issue appears to specifically affect the filtering functionality on UUID columns.
Actual Behavior:
Upon attempting to filter the UUID column, the system immediately returns an error message "Something's gone wrong", and no filtering action is completed. This indicates a malfunction in the filtering capability for UUID columns.
To Reproduce
Navigate to the table containing the UUID column in the database.
Attempt to apply a filter to the UUID column (e.g., filtering for a specific UUID value).
Observe the error message that appears.
Expected behavior
The filter operation should successfully apply to the UUID column, allowing records that match the filter criteria to be displayed without any error.
Logs
In logs, we have error "Erreur dans la recherche des valeurs des champs,java.lang.IllegalArgumentException: UUID string too large, at java.base/java.util.UUID.fromString(UUID.java:199), at metabase.driver.postgres$fn__83669.invokeStatic(postgres.clj:363),"
Information about your Metabase installation
Severity
Block usage when filtering on a UUID column
Additional context
This issue was not present in the previous version (V0.48.8), indicating a regression introduced in V0.49.0.
The text was updated successfully, but these errors were encountered: