I am working on optimizing merge queries and I found some useful usage data from the history explore (screenshot below). Is there a way to see the results of a merge query from `merge_query.id`?
A few findings:
It depends on what you mean by 'see the results' - if you are in the 'History' explore, you can just pull in the Merge Query: ID field and clicking on that ID in the results table will bring you to the merged results interface for that particular query. Is there something else you are looking to see?
Thank you for your reply. By seeing the merge result, I mean the screen you see when you explore/open one, as below. The url is like this "https://xxx.looker.com/merge?mid=WG5EH7L0yGq7nfl86zdyPT". I basically want to see what a merge query is about.
I'm not sure if we can get to the merged query explore UI itself, but we can see a table of the queries that are combined to create merged results, and see the fields they are joined on as you see below. If you click on 'query' in the 'link' column it will take you to each of the queries that are combined in a merged query, and you can group them together as you see below so you see which queries are combined.
If you substitute your URL at the start of the link below, it should bring up the same view on your instance:
YOUR_INSTANCE_NAME/explore/system__activity/merge_query?fields=merge_query_source_query.id,merge_query_source_query.query_id,query.link,merge_query.created_time,merge_query_source_query.rank,merge_query.id,merge_query_source_query.merge_fields&sorts=merge_query_source_query.id+desc&limit=500&column_limit=50&vis=%7B%7D&filter_config=%7B%7D&dynamic_fields=%5B%5D&origin=share-expanded
Thank you Gavin. I'd reached the route you pointed out, but it's just not convenient. From there, I gotta check which field is used for the join. I was expecting we have something similar to query link, or we can retrieve the `mid` parameter. I guess we don't have that available now, but again thank you very much for the response.