Prerequisite to use Open Analytics Framework | VantageCloud Lake | teradataml - Prerequisite to use Open Analytics Framework - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

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;
  • 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.
  • 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.