Skip to content

Can no longer subclass DataFrameColumn due to internal abstract GetSortIndices method #7323

@charliebone

Description

@charliebone

Hello,

I'm glad v0.22 is published with some fixes I have been waiting for. However, there is now an issue.

I inherit from the DataFrameColumn class to build my own DataFrameColumn implementation. The reasons aren't super important but it's used allow for some implementations of extension methods on the DataFrameColumn class that do computations that require certain data types. The class is a public abstract class, which indicated to me as a user of the ml.net library it was fair game to override and to continue writing extension methods that all were based on the DataFrameColumn abstract base class.

Now, we have an internal abstract method present in the base class, making overriding impossible even though every other abstract method and property is either public or protected:

internal abstract PrimitiveDataFrameColumn<long> GetSortIndices(bool ascending, bool putNullValuesLast);

Is there anything that can be done to remedy this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions