Skip to content

Move DatabaseLoader from the Experimental package #4323

Description

@eerhardt

We want to mark the DatabaseLoader as a "stable API" when we ship 1.4. However, it is currently in the Experimental package, which will never be marked as stable.

We should move the DatabaseLoader to a stable package.

If I get a vote, my vote would be to add it to the core Microsoft.ML package, next to TextLoader. DatabaseLoader adds no extra dependencies, so I think it is completely fine to add it to the Microsoft.ML package.

Activity

  1. eerhardt commented on Oct 10, 2019

    @eerhardt
    MemberAuthor
  2. tannergooding commented on Oct 14, 2019

    @tannergooding
    Member

    If we can confirm where it should go, I'm happy to move it there.

  3. eerhardt commented on Oct 14, 2019

    @eerhardt
    MemberAuthor

    If I was to do it, I would move it next to the TextLoader. I don't feel adding a new package for this is valuable since it doesn't add any new dependencies.

    @CESARDELATORRE @codemzs @yaeldekel - thoughts? We need this in order to ship a stable 1.4 package with the DatabaseLoader in it.

  4. CESARDELATORRE commented on Oct 14, 2019

    @CESARDELATORRE
    Contributor

    I agree. It should be near the TextLoader type if ti is not adding any new dependencies.
    It’d be a very small package if adding a new one.

  5. tannergooding commented on Oct 14, 2019

    @tannergooding
    Member

    Any other input I should wait for, or am I good to move the types and put up the PR?

  6. codemzs commented on Oct 16, 2019

    @codemzs
    Member

    What if tomorrow DB loader adds new dependencies?

  7. tannergooding commented on Oct 16, 2019

    @tannergooding
    Member

    Move the type into a new assembly and add a type forward at that point?

  8. eerhardt commented on Oct 16, 2019

    @eerhardt
    MemberAuthor

    What if tomorrow DB loader adds new dependencies?

    If that is necessary, we could add those new dependencies in a separate NuGet package as extension methods to the lower-level DatabaseLoader.

    A key design to the DatabaseLoader is that it works on any ADO.NET provider, it isn't specific to SQL Server, Oracle, etc. So the low-level/base classes should have no dependencies outside of the base System.Data.Common. If we need new dependencies, they will have to be separate from the base DatabaseLoader anyway.

  9. codemzs commented on Oct 16, 2019

    @codemzs
    Member

    Ok, sounds good. Let’s move it out of Experimental nuget. Thanks @eerhardt and @tannergooding

  10. removed their assignment
    on May 26, 2020
  11. ghost locked as resolved and limited conversation to collaborators on Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions