You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
charliebone
changed the title
Can no longer implement DataFrameColumn due to internal abstract GetSortIndices method
Can no longer subclass DataFrameColumn due to internal abstract GetSortIndices method
Nov 20, 2024
Hi @charliebone. I implemented fix for this.
You may try to inherit from the PrimitiveDataFrameColumn class as a workaround, if it's possible in your scenario (though T should be a value type)
@charliebone, I created PR #7331 for including these changes to the 4.0.1 release. I don't have any insights when it may be shipped to production, vut according to previouse years I expect it to happen in the nearest couple of months
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:
machinelearning/src/Microsoft.Data.Analysis/DataFrameColumn.cs
Line 463 in d4bc05d
Is there anything that can be done to remedy this?
The text was updated successfully, but these errors were encountered: