In-Database Analytic Function Setup - Teradata Warehouse Miner

In-Database Analytic Functions User Guide

Product
Teradata Warehouse Miner
Release Number
5.4.6
Published
November 2018
Language
English (United States)
Last Update
2018-12-07
dita:mapPath
akh1538171534882.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2306
lifecycle
previous
Product Category
Teradata® Warehouse Miner
Run the following GRANT statements as necessary prior to performing the UDF installation, where dbname is the name of the database where you want to install the UDFs:
GRANT CREATE FUNCTION ON <dbname> to <dbname>;
GRANT ALTER FUNCTION ON <dbname> to <dbname>;
GRANT EXECUTE PROCEDURE on SQLJ.REMOVE_JAR to <dbname>;
GRANT EXECUTE PROCEDURE on SQLJ.INSTALL_JAR to <dbname>;
GRANT EXECUTE PROCEDURE on SQLJ.ALTER_JAVA_PATH to <dbname>;
GRANT CREATE EXTERNAL PROCEDURE ON <dbname> to <dbname>;

To install the UDFs required by the TWM In-Database Analytic Functions, run the Install or Uninstall UDFs program item in the TWM group, selecting the Install TD_Analyze Udfs option and supplying the logon information including Hostname, User ID, Password, and Database into which to install the UDFs.

The Install or Uninstall UDFs program creates and installs the UDFs using the BTEQ which must be installed on the client system. BTEQ requires an entry in the Hosts file to connect properly. For information on executing Teradata client utilities, see Teradata Warehouse Miner User Guide: Volume 1, Introduction and Profiling (B035-2300).