feast icon indicating copy to clipboard operation
feast copied to clipboard

feat: Custom schema for SQL Registry

Open zerafachris opened this issue 2 years ago • 10 comments

What this PR does / why we need it: Current SQL Registry uses public schema. This provides a registry_schema inside of config_yaml that will use registry_schema for all registry related tables.

Which issue(s) this PR fixes: https://github.com/feast-dev/feast/issues/3568

Fixes #3568

zerafachris avatar Mar 28 '23 14:03 zerafachris

Have you considered using the db_schema property that's in the pgsql connection config properties? This same configuration class is used for the online store, so this should work too.

Adding a specific schema name seems redundant if you use this.

adamschmidt avatar Apr 04 '23 21:04 adamschmidt

Hi @adamschmidt , the feature handles the metadata object inside of PostGres. I can use db_schema instead of registry_schema no worries, however the class model is not being used. All objects that are supplied in the config are parsed independently.

zerafachris avatar Apr 05 '23 05:04 zerafachris

@adchia could you kindly have a look

zerafachris avatar May 16 '23 08:05 zerafachris

Assigning to @achals since he's more familiar with this code!

adchia avatar May 18 '23 03:05 adchia

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zerafachris To complete the pull request process, please assign achals after the PR has been reviewed. You can assign the PR to them by writing /assign @achals in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

feast-ci-bot avatar Jul 28 '23 11:07 feast-ci-bot

/assign @achals

zerafachris avatar Jul 28 '23 11:07 zerafachris

Conflicts have been resolved. Can we get a review

zerafachris avatar Jul 28 '23 12:07 zerafachris

@zerafachris: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

feast-ci-bot avatar Jul 28 '23 13:07 feast-ci-bot

/lint

zerafachris avatar Jul 28 '23 13:07 zerafachris

Hi @achals , do you think we can get a peer review? I do not wish to stay resyncing with master branch and resolve conflicts again.

zerafachris avatar Jul 31 '23 14:07 zerafachris

Hi @zerafachris, with new maintainers in place we're making best efforts to try and resolve long-standing conversations such as what you've encountered here. With that in mind, we'd still have a few things to work through prior to merging your contribution. As a start, our DCO check indicates here some fixes that are needed. If you're still interested in persuing the PR, please take a look at this & other running checks. Thanks!

jeremyary avatar Mar 04 '24 16:03 jeremyary