FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support 'enabled' configurations for offline stores by enya-yx · Pull Request #545 · feathr-ai/feathr · GitHub

Support 'enabled' configurations for offline stores - #545

Merged
blrchen merged 7 commits into
feathr-ai:mainfrom
enya-yx:enya/enable-flags
Aug 24, 2022
Merged

Support 'enabled' configurations for offline stores#545
blrchen merged 7 commits into
feathr-ai:mainfrom
enya-yx:enya/enable-flags

Conversation

enya-yx commented Aug 2, 2022

Copy link
Copy Markdown
Collaborator

For offline stores, S3/ADLS/WASB/JDBC/Snowflake, if any of its 'enabled' config variables are set to 'false' or undefined their other related environment variables will not be visited.

xiaoyongzhu added the safe to test Tag to execute build pipeline for a PR from forked repo label Aug 2, 2022

Copy link
Copy Markdown
Member

Quick comment - instead just return empty string, we should also eliminate the parameter names below:

                '--s3-config', self._get_s3_config_str(),
                '--adls-config', self._get_adls_config_str(),
                '--blob-config', self._get_blob_config_str(),
                '--sql-config', self._get_sql_config_str(),
                '--snowflake-config', self._get_snowflake_config_str()

i.e. if s3 is not configured, it doesn't make sense to have --s3-config in the param list

enya-yx commented Aug 22, 2022

Copy link
Copy Markdown
Collaborator Author

Quick comment - instead just return empty string, we should also eliminate the parameter names below:

                '--s3-config', self._get_s3_config_str(),
                '--adls-config', self._get_adls_config_str(),
                '--blob-config', self._get_blob_config_str(),
                '--sql-config', self._get_sql_config_str(),
                '--snowflake-config', self._get_snowflake_config_str()

i.e. if s3 is not configured, it doesn't make sense to have --s3-config in the param list

Modified the solution in new commit.

jainr self-requested a review August 23, 2022 22:25
jainr previously approved these changes Aug 23, 2022

jainr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the update, changes look good to me.

blrchen merged commit 31414fe into feathr-ai:main Aug 24, 2022
ahlag pushed a commit to ahlag/feathr that referenced this pull request Aug 26, 2022
For offline stores, S3/ADLS/WASB/JDBC/Snowflake, if any of its 'enabled' config variables are set to 'false' or undefined their other related environment variables will not be visited.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Tag to execute build pipeline for a PR from forked repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL