Exclude attributes starting with tag_ (#3619)

* Exclude attributes starting with tag_

* Check only for tag_*
This commit is contained in:
Gagan Nagaraj
2024-09-09 05:12:19 -07:00
committed by GitHub
parent 72f9cd91a5
commit 6a24510473

View File

@@ -373,7 +373,7 @@ int CmdInfo::execute(std::string& output) {
// Show any orphaned UDAs, which are identified by not being represented in
// the context.columns map.
for (auto& att : all) {
if (att.substr(0, 11) != "annotation_" && att.substr(0, 5) != "tags_" &&
if (att.substr(0, 11) != "annotation_" && att.substr(0, 4) != "tag_" &&
att.substr(0, 4) != "dep_" &&
Context::getContext().columns.find(att) == Context::getContext().columns.end()) {
row = view.addRow();