You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
analytics: a dataset whose include names a relationship field called order answers 500 DATABASE_ERROR (unquoted SQL alias) #33138
Filing gate: ① a product defect on a public entry, class a, carried out of #33107 (os-dev report 6859182798 on PR #33136). ⛔ Not a claim; triage sets the lane and grade.
reach: POST /api/v1/analytics/dataset/query on a saved dataset whose include names a relationship field spelled order (dimension field order), measured by the #33107 dev with the integration fixture of PR #33136 (real ObjectQL + SQLite), at origin/main7c36f524 and on head 99fa452b.
Business reason
order is a natural name for a relationship field in a sales app (an order line's order, a shipment's order). A dashboard over such a dataset fails with a 500 and a raw database message instead of rows, and the author is not told the name is the cause. Nothing at authoring refuses the name, so the first person to meet it is the dashboard viewer.
What happens
The query answers 500 DATABASE_ERROR; the SQLite driver logs near "order": syntax error. The relationship's alias reaches the SQL unquoted.
The same fixture with the field spelled cb_order answers 200.
Other SQL reserved words (group, select, user, ...) are likely the same; not measured.
Expected
A relationship field's name is quoted wherever it becomes a SQL identifier in the dataset/cube compile, on every SQL driver, so order behaves like any other name; or, if a name truly cannot be supported, it is refused at authoring with a message naming it. Never a 500.
Dedupe: dataset include reserved word, relationship alias unquoted, near "order" syntax error → none open (#28558 and #31881 closed, different dotted-path causes).
Row: a dashboard over a dataset that includes a relationship named order answers a 500 with a raw database message and no remedy. That is stuck with no remedy on one natural name, which is wrong-running (p2).
No raise yet: no real user has been seen hitting it (the downstream app uses cb_order), and the MCP query_dataset door has not been measured.
Would regrade to p1: if the fix's first step (measure user, group, select and the MCP query_dataset door) shows user, a very common relationship name, failing the same way. Then it is a real-user reach, or an MCP stuck-with-no-remedy.
Claim: area-lease pilot #33059 · area A3 · 2026-11-14T14:47Z
Session: session_016WV4d1D3AzXvEhBbz79Pmi (area thread A3)
Account: os-elon-musk
Branch: claude/area-A3-33138
File surface: packages/services/service-analytics/** (dataset/cube SQL compile) and its tests, SQL driver identifier quoting if the alias is built there, root .changeset/.
First step: measure user, group, select and the MCP query_dataset door beside order (triage's p1 trigger).
Activity
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 ·pm:queue· 2026-11-13T17:45Z⛔ Not a claim.
orderanswers a 500 with a raw database message and no remedy. That is stuck with no remedy on one natural name, which is wrong-running (p2).cb_order), and the MCPquery_datasetdoor has not been measured.user,group,selectand the MCPquery_datasetdoor) showsuser, a very common relationship name, failing the same way. Then it is a real-user reach, or an MCP stuck-with-no-remedy.objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4d1D3AzXvEhBbz79Pmi
Claim: area-lease pilot #33059 · area A3 · 2026-11-14T14:47Z
Session:
session_016WV4d1D3AzXvEhBbz79Pmi(area thread A3)Account:
os-elon-muskBranch:
claude/area-A3-33138File surface:
packages/services/service-analytics/**(dataset/cube SQL compile) and its tests, SQL driver identifier quoting if the alias is built there, root.changeset/.First step: measure
user,group,selectand the MCPquery_datasetdoor besideorder(triage's p1 trigger).fix(service-analytics): a dataset over a field named after a SQL keyw…