mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-17 01:02:28 +00:00
\`inf_vector_column_query\`'s \`dim\` filter (added in #3423) is meant to disambiguate between multiple vector columns of different sizes. When a schema has exactly one vector column and the query's dimension doesn't match it, the filter excluded that column too, raising "There is no vector column in the data" instead of resolving the column and letting the dimension mismatch surface at query execution. This was latent until #4409 wired client-side vector-column inference into remote search: a mismatched-dimension query against a single-vector-column remote table now fails client-side with the wrong error, before ever reaching the server's own dimension validation. Fall back to the unfiltered candidate set when the dimension filter leaves zero matches, and only raise when that is still ambiguous or genuinely empty.