The data explorer has special logic (“Automatic Entity Resolution”) to show links to various objects whenever a column name is user_id, group_id, topic_id, category_id or badge_id.
However, it also triggers on tag_group_id and it sees it as a group_id whenever a group with the same id is available.
How to reproduce
create a tag group
add a tag
create a data explorer query SELECT id, tag_id, tag_group_id FROM tag_group_memberships
בטח, הוספת pr-welcome כאן, מרגיש שאנחנו צריכים להפוך את הביטוי הרגולרי לקצת יותר מתוחכם. אני מניח שזה מנסה להתחשב ב-allowed_xyz_group_id ודברים דומים, אבל עכשיו אנחנו צריכים כלל מיוחד כדי למנוע tag_group_id