Skip to content

fix(core-spec): reject empty strings in key and join column arrays - #750

Open
iprithv wants to merge 2 commits into
apache:mainfrom
iprithv:fix/key-join-column-item-minlength
Open

iprithv wants to merge 2 commits into
apache:mainfrom
iprithv:fix/key-join-column-item-minlength

Conversation

@iprithv

@iprithv iprithv commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Empty strings in primary_key / unique_keys / from_columns / to_columns were getting past the schema and only failing later as undeclared field ''. Field and dataset names already require minLength 1.

Adds the same on those array items, mirrors it in the SDK, and covers it next to the existing empty-identifier tests.

Orthogonal to #705 (uniqueItems).

Signed-off-by: prithvi <prithvisivasankar@gmail.com>

@christianeu-db christianeu-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @iprithv the change looks good. Since this is a spec change, do you mind sending out a [DISCUSS] thread on a mailing list so the community can review - this one should be able to land by lazy consensus

@iprithv

iprithv commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Signed-off-by: prithvi <prithvisivasankar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants