Tested against: origin/main @ a178aa5b6b0b260d105962c928f07304360b7b30 (fetched 2026-05-20)
Severity: Low (workaround exists)
SHOW TENANT <name> is not supported; only the SHOW TENANT USAGE FOR <name> IN DATABASE <db> variant works (per docs). Basic per-tenant introspection by name is missing.
Reproduction
SHOW TENANT mae8;
-- → ERROR: unsupported: statement type: SHOW TENANT mae8
SHOW TENANTS WITH NAME mae8;
-- → ERROR: unsupported: statement type: SHOW TENANTS WITH NAME mae8
For an admin who wants "tell me about tenant 'mae8' — what's its ID, quotas, db, status?", the only path is:
SHOW TENANTS;
-- iterate the list, find the row by name
…which works but is awkward for scripts and admin tooling.
Suggested fix
Add SHOW TENANT <name|id> for basic per-tenant introspection. Returns: tenant_id, name, database, quotas, active_requests, total_requests, rejected_requests, etc. Useful both interactively and from admin scripts that need tenant-by-name lookup.
Workaround
SHOW TENANTS + grep / awk for the desired name. Workable but every admin tool reinvents this filter.
Context
Caught during mae8 v2 Phase 0 bootstrap (2026-05-20). Full bug catalog: /home/system/rnd/mae8/docs/origin_bugs_2026-05-20.md (this is Bug 6 from that file).
Tested against:
origin/main @ a178aa5b6b0b260d105962c928f07304360b7b30(fetched 2026-05-20)Severity: Low (workaround exists)
SHOW TENANT <name>is not supported; only theSHOW TENANT USAGE FOR <name> IN DATABASE <db>variant works (per docs). Basic per-tenant introspection by name is missing.Reproduction
For an admin who wants "tell me about tenant 'mae8' — what's its ID, quotas, db, status?", the only path is:
SHOW TENANTS; -- iterate the list, find the row by name…which works but is awkward for scripts and admin tooling.
Suggested fix
Add
SHOW TENANT <name|id>for basic per-tenant introspection. Returns:tenant_id,name,database,quotas,active_requests,total_requests,rejected_requests, etc. Useful both interactively and from admin scripts that need tenant-by-name lookup.Workaround
SHOW TENANTS+ grep / awk for the desired name. Workable but every admin tool reinvents this filter.Context
Caught during mae8 v2 Phase 0 bootstrap (2026-05-20). Full bug catalog:
/home/system/rnd/mae8/docs/origin_bugs_2026-05-20.md(this is Bug 6 from that file).