-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: gist decoder not properly setting number of spans in scan constraints #85324
Copy link
Copy link
Closed
Closed
Copy link
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-queriesSQL Queries TeamSQL Queries Team
Description
We alloc the right number of constraints but don't actually append fake ones to properly set the count. So right now we get:
explain-plan-gist
AgHyAQIA//8HHgAAByoFKiHyAQAA
----
• update
│ table: ?
│ set
│
└── • render
│
└── • scan
table: ?@?
spans: 1 spans
It should be:
explain-plan-gist
AgHyAQIA//8HHgAAByoFKiHyAQAA
----
• update
│ table: ?
│ set
│
└── • render
│
└── • scan
table: ?@?
spans: 15 spans
Jira issue: CRDB-18190
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-queriesSQL Queries TeamSQL Queries Team
Type
Projects
Status
Done