Skip to content

[C#] Remove IArrowArray and use Array base class. #21992

@asfimport

Description

@asfimport

In .NET libraries, we have historically favored classes (abstract or otherwise) over interfaces. See Choosing Between Classes and Interfaces. The main reasoning is that you can add members to a class over time, but once you ship an interface, it can never be changed. You can only add new interfaces.

 In light of this, we should remove the IArrowArray interface, and instead just the base Array class as the abstraction for all Arrow Arrays.

As part of this, we should also consider renaming Array because it conflicts with the System.Array type. Instead we should consider naming it ArrowArray to make it unique from the very common System.Array type in .NET.

Reporter: Eric Erhardt / @eerhardt

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions