Query change diff

Searched the forum but did not found anything related.

Anyone knows who to diff between question query versions?

I’m imagining something along the lines of just getting the query in plain text form the metadata database.

I don’t think the questions are versioned. I created a test question, was given id of 288. Modified and saved again, still id 288 and nothing in database to signify a change.
It’s just dashboards that have a revision history.

All dashboards, questions, metrics and segments have revision.
It’s stored in revision table of the application database.
So while there isn’t a diff functionality built-in to Metabase, it would be possible to compare the latest revision with a previous one.

1 Like

Thank you. This is indeed what I’ve imagined.
Is github issues the place to suggest such feature?

@vitor.hirota Yes, all features and bugs are tracked on GitHub.
https://github.com/metabase/metabase/issues/new/choose

For reference:
https://github.com/metabase/metabase/issues/13615 - upvote by clicking :+1: on the first post