Snowflake prerequisites
Steps
- Create new user or use existing one (this user will be used for reading data to spark client)
- Create new role, for example as:
CREATE ROLE IF NOT EXISTS FS_READ_ONLY_ROLE
- Grant usage to database that will be used to store feature sets for example:
GRANT USAGE ON DATABASE <DB_NAME> TO ROLE <ROLE_NAME>
- Grant usage to schema that will be created in database
GRANT USAGE ON SCHEMA <SCHEMA_NAME> TO ROLE <ROLE_NAME>
- Grant role to database
GRANT SELECT ON FUTURE VIEWS IN DATABASE <DB_NAME> TO ROLE <ROLE_NAME>
- Grant role to user
GRANT ROLE <ROLE_NAME> TO USER <USER_NAME>
Use created user in helm values:
global.storage.offline.snowFlake.readOnlyViewSparkUser
global.storage.offline.snowFlake.readOnlyViewSparkPassword
.
Feedback
- Submit and view feedback for this page
- Send feedback about H2O Feature Store to cloud-feedback@h2o.ai