Skip to content

[Rust] Make ArrayData --> GenericListArray fallable instead of panic! #27787

@asfimport

Description

@asfimport
  1. Background:
    Left over cleanups suggested by from @sunchao on ARROW-11504: [Rust] Added checks to List DataType. #9425

    Broken out from ARROW-11504: [Rust] Added checks to List DataType (WIP IMPROVEMENTS) #9508

  2. Rationale:

    Rationale: don't use panic! directly (though the caller of this function still calls unwrap() so I am not sure how much of an improvement this change really is. However it sets us up for a more safe future eventually

Reporter: Andrew Lamb / @alamb
Assignee: Andrew Lamb / @alamb

PRs and other links:

Note: This issue was originally created as ARROW-11952. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions