Skip to content

[core] Trim field names in vector-field - #11245

Open
chenjian2664 wants to merge 1 commit into
apache:masterfrom
chenjian2664:chenjian2664/bytequay/trim-field-names-in-vector-field
Open

chenjian2664 wants to merge 1 commit into
apache:masterfrom
chenjian2664:chenjian2664/bytequay/trim-field-names-in-vector-field

Conversation

@chenjian2664

Copy link
Copy Markdown
Contributor

Purpose

vector-field is split on commas, but the names are not trimmed, so 'v1, v2' produces v2. That name matches no column, so table creation fails with "Some of the columns specified as vector-field are unknown." The Flink and Spark catalogs also skip converting that column to VECTOR. Both vectorField overloads now trim each name and drop empty entries, as blob-field and the other comma-separated options already do.

Tests

@chenjian2664
chenjian2664 marked this pull request as ready for review November 18, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant