Skip to content

Stricter DataType parsing #10146

Closed

Description

@Jefffrey

Is your feature request related to a problem or challenge?

When parsing datatypes from strings, invariants aren't upheld for types:

  • fixed size list size must be non-negative
  • time32/time64 has restricted time unit variants
  • decimals have restrictions on allowed precision/scale

Describe the solution you'd like

Add checks to datatype parsing to uphold these invariants

Describe alternatives you've considered

No response

Additional context

Raised from downstream datafusion:

Also related to recent fix:

Activity

  1. self-assigned this
    on Jun 16, 2026
  2. added theissue type on Jun 16, 2026
  3. added a commit that references this issue on Jun 23, 2026
    534dfc4
  4. changed the title [-]Stricter datatype parsing[/-] [+]Stricter `DataType` parsing[/+] on Jul 2, 2026
  5. alamb commented on Jul 2, 2026

    @alamb
    Contributor

    label_issue.py automatically added labels {'arrow'} from #10147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementNew feature/addition

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions