Skip to content

Conversation

@010Soham
Copy link

What changed

  • Add a client-side validation error when a PyArrow null type is used with format version < 3, including the field path and a hint to use a concrete type or format-version 3.
  • Add a unit test to verify the clear error message when converting a PyArrow schema with a null field.

Why

  • Prevents misleading REST errors like “Cannot parse type string… unknown” and points directly to the offending field.

Testing

  • make lint
  • uv run pytest tests/catalog/test_base.py -k rejects_null_type -v
  • make test (timed out at ~42%)

Closes #2539

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.

error message for failed table creation due to null columns is misleading

1 participant