Skip to content

fix(spec): validate schema types by format version#2417

Open
manuzhang wants to merge 1 commit intoapache:mainfrom
manuzhang:codex/block-creating-v1/v2-tables-with-timestamp_ns
Open

fix(spec): validate schema types by format version#2417
manuzhang wants to merge 1 commit intoapache:mainfrom
manuzhang:codex/block-creating-v1/v2-tables-with-timestamp_ns

Conversation

@manuzhang
Copy link
Copy Markdown
Member

@manuzhang manuzhang commented May 9, 2026

Which issue does this PR close?

What changes are included in this PR?

Reject schema types that require a newer table format (e.g. v3). This keeps ordinary CREATE TABLE defaults on v2 while allowing timestamp_ns schemas to pass validation.

Are these changes tested?

Add UTs


Co-authored-by: @codex

Reject schema types that require a newer table format and update the DataFusion catalog registration path to request v3 only when the converted schema needs it. This keeps ordinary CREATE TABLE defaults on v2 while allowing timestamp_ns schemas to pass validation.

Co-authored-by: Codex <codex@openai.com>
@manuzhang
Copy link
Copy Markdown
Member Author

manuzhang commented May 9, 2026

@CTTY @liurenjie1024 please help take a look.

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.

No validation that prevents creating a V2 table with timestamp_ns/timestamptz_ns types

1 participant