Skip to content

Internalize IDataTransform #2509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Ivanidzo4ka
Copy link
Contributor

Hide the unhideable, bestfriend the unfrienable!
fixes #1995

@@ -244,7 +247,8 @@ public override bool IsColumnActive(int col)
/// on multiple input columns.
/// This class provides the implementation of ISchema and IRowCursor.
/// </summary>
public abstract class OneToOneTransformBase : RowToRowMapperTransformBase, ITransposeDataView, ITransformCanSavePfa,
[BestFriend]
internal abstract class OneToOneTransformBase : RowToRowMapperTransformBase, ITransposeDataView, ITransformCanSavePfa,
ITransformCanSaveOnnx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few [BestFriend] in this class, if you are doing another iteration, maybe we could make those public and remove the attribute. Not a requirement though.

Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codecov
Copy link

codecov bot commented Feb 12, 2019

Codecov Report

Merging #2509 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2509   +/-   ##
=======================================
  Coverage   71.24%   71.24%           
=======================================
  Files         798      798           
  Lines      141231   141231           
  Branches    16112    16112           
=======================================
  Hits       100623   100623           
  Misses      36142    36142           
  Partials     4466     4466
Flag Coverage Δ
#Debug 71.24% <ø> (ø) ⬆️
#production 67.57% <ø> (ø) ⬆️
#test 85.35% <ø> (ø) ⬆️

Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@Ivanidzo4ka Ivanidzo4ka merged commit 5c442a9 into dotnet:master Feb 12, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internalize concepts of IDataTransform/Loader/TransformTemplate.
3 participants