Open Analytics Framework is available only for VantageCloud Lake.
To run open analytics in a VantageCloud Lake system, the following are required:
- Establish a connection to Vantage before using Open Analytics Framework.
- The user connected to VantageCloud Lake have the 'TD_DATA_SCIENTIST' role.
GRANT TD_DATA_SCIENTIST to user;
- The user connected to VantageCloud Lake is given the additional privilege to log in with a NULL password.
GRANT LOGON ON ALL TO user WITH NULL PASSWORD;
- The user connected to VantageCloud Lake is given the additional privilege to run APPLY query.
GRANT EXECUTE ON FUNCTION TD_SYSFNLIB.APPLY TO user;
- Grant user or user groups access to analytic compute groups.
GRANT COMPUTE GROUP analytic_compute_group_name TO username; MODIFY USER username as COMPUTE GROUP = analytic_compute_group_name;
See Creation and Management of Analytic Compute Groups for details. - Set the UES service URL.Two options to do so:
- Options 1: Use the "config" option.
>>> from teradataml import configure >>> configure.ues_url = <VantageCloud Lake URL>
- Option 2: Use set_config_params.
- Options 1: Use the "config" option.
- Set the JWT Authentication token.Two options to do so:
- Option 1: Use set_config_params.
>>> from teradataml import set_config_params >>> set_config_params(auth_token=getpass.getpass("JWT Token: "))
- Options 2: Use set_auth_token API to generate JWT token and set it.
Authentication token will expire after a specific time. You can get a new token and set it again. - Option 1: Use set_config_params.