sql: distSQLSpecExecFactory.ConstructVectorSearch not using InitAllowingExternalRowData #146125
Labels
A-vector-index
branch-master
Failures and bugs on the master branch.
branch-release-25.2
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-qa
T-sql-queries
SQL Queries Team
Uh oh!
There was an error while loading. Please reload this page.
In this slack conversation, @andy-kimball pointed out that
sql.(*distSQLSpecExecFactory).ConstructVectorSearch
is usingspan.(*Builder).Init
instead ofspan.(*Builder).InitAllowingExternalRowData
and so will get an internal error when used on external row data.This is pretty tough to hit. It requires
SET experimental_distsql_planning = always;
+ vector search + external row data. Here's a repro usingcockroach demo
:The internal error looks like this:
Jira issue: CRDB-50399
The text was updated successfully, but these errors were encountered: