Agent using MCP cannot properly compute metrics #40920
Replies: 1 comment
-
|
Yes, these are known limitations of the MCP server's metric handling that have been actively worked on. A few things to be aware of: The The non-existent column references (e.g., referencing a "count" column that doesn't exist) happen because the MCP's metric schema previously only supported fixed aggregate functions ( Custom SQL metric support was added in PR #40448 (merged May 28, 2026), which introduced a There's also a related feature request (#40917) that documents the broader gap around Custom SQL metrics and virtual dataset limitations [3]. Suggestions:
To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying out an agent using superset MCP.
Somehow, whenever I ask it to create a chart with some aggregated values, it either uses an existing metric but omits the "saved_metric: True" parameter, or it writes the aggregation SQL on the fly, but always references a non existing column (for example, if I ask it to count the number of rows per category or per day, it will reference the in existing column "count").
Has anyone else had issues with this ?
Beta Was this translation helpful? Give feedback.
All reactions