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
View Details: "is connected to:" uses wrong PK for query with join #34070
Labels
.Frontend
Priority:P2
Average run of the mill bug
Querying/GUI
Query builder catch-all, including simple mode
.Team/QueryingComponents
Type:Bug
Product defects
Milestone
Comments
calherries
added
.Team/42 🌌
.Frontend
Visualization/Tables
Raw, summarized, and pivoted tables
and removed
.Needs Triage
.Team/42 🌌
labels
Sep 27, 2023
calherries
changed the title
View Details: Entity is connected to "Unknown"
View Details: "is connected to:" uses wrong PK for query with join
Sep 28, 2023
perivamsi
added
.Team/QueryingComponents
and removed
.Team/PixelPolice (DEPRECATED)
labels
Dec 15, 2023
ranquild
added
Querying/GUI
Query builder catch-all, including simple mode
and removed
Visualization/Tables
Raw, summarized, and pivoted tables
labels
Dec 15, 2023
I can reproduce it in master at afc28b9. |
2 tasks
uladzimirdev
added a commit
that referenced
this issue
Apr 3, 2024
* Map row id on object detail id * Add a fallback * Add e2e test * Add a limit * Provide a fix for #34070 * Simplify test
github-actions bot
pushed a commit
that referenced
this issue
Apr 3, 2024
* Map row id on object detail id * Add a fallback * Add e2e test * Add a limit * Provide a fix for #34070 * Simplify test
rafpaf
pushed a commit
that referenced
this issue
Apr 3, 2024
* Map row id on object detail id * Add a fallback * Add e2e test * Add a limit * Provide a fix for #34070 * Simplify test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
.Frontend
Priority:P2
Average run of the mill bug
Querying/GUI
Query builder catch-all, including simple mode
.Team/QueryingComponents
Type:Bug
Product defects
Describe the bug
In some cases, after clicking on the "View Details", instead of showing the connected entities, the phrase "Unknown" is displayed.
By monitoring the messages passed between Metabase and the Postgres Docker Image using Wireshark, one can notice that the problem comes from a wrong sql query, that Metabase generates and sends to the Postgres Database:
Message generated by metabase and sent to the Postgres DB:
SELECT count(*) AS "count" FROM "source1"."rooms" WHERE "source1"."rooms"."h_id" = 9
The Reply message from Postgres DB to metabase:
operator does not exist: text = integer No operator matches the given name and argument types. You might need to add explicit type casts
Similar errors can be seen by checking the Wireshark log of discussions between metabase and the postgres DB after clicking on different columns data, every now and then.
To Reproduce
In order to reproduce this error,
1- start from the Destination Postgres Database from the following link:
https://github.com/ontopic-vkg/destination-tutorial
2- Add the destination database, as a source database to metabase,
3- join the following tables: Source1.Hospitality, Source1.Municipality.
4- after visualizing the data, and clicking on the "View Details" as follow,
one will get the following error message:
No response
Logs
By monitoring the messages passed between Metabase and the Postgres Docker Image using Wireshark, one can notice that the problem comes from a wrong sql query, that Metabase generates and sends to the Postgres Database:
Message generated by metabase and sent to the Postgres DB:
SELECT count(*) AS "count" FROM "source1"."rooms" WHERE "source1"."rooms"."h_id" = 9
The Reply message from Postgres DB to metabase:
operator does not exist: text = integer No operator matches the given name and argument types. You might need to add explicit type casts
Information about your Metabase installation
Severity
Blocking the usage of metabase for us.
No response
Tasks
The text was updated successfully, but these errors were encountered: