Skip to content

Support requested features on Postgresql online store #3173

Closed

Description

@NhuanTDBK

Is your feature request related to a problem? Please describe.
As a user, I want to retrieve subset of features on Postgresql online store instead of fetching all features

Describe the solution you'd like
Update online_read method to retrieve subset of features

Additional context
I'm close to creating a pull request for this issue myself.

Activity

  1. added
    kind/feature
    on Sep 3, 2022
  2. felixwang9817 commented on Sep 12, 2022

    @felixwang9817
    Collaborator

    hey @NhuanTDBK, are you sure that Postgres currently doesn't support retrieving a subset of features?

    I took a quick look at #3203 and I noticed that the sqlite online store online_read method also does not make use of requested_features; that is because later on the requested features are correctly subselected in FeatureStore._read_from_online_store here

    I would be surprised if this didn't also work for Postgres

  3. NhuanTDBK commented on Sep 13, 2022

    @NhuanTDBK
    ContributorAuthor

    @felixwang9817 I think it's more efficient when it pushed down predicates to Postgres instead of fetching all features and filter out in the client side (For this case, we want to build the AutoFeatureSelection module to automatically select the best features from thousand of features)

  4. felixwang9817 commented on Sep 22, 2022

    @felixwang9817
    Collaborator

    @NhuanTDBK sorry for the slow response here - that makes sense to me, I'll stamp your PR!

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

    kind/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions