Getting Scripts for a Specified Schema - Aster Analytics

Teradata AsterĀ® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software
This procedure gets the scripts that install a package in, and uninstall it from, a specified schema.
You can create these scripts only if Python is installed on your system. If Python is not installed on your system, use the Aster Database Cluster Terminal (ACT) commands install and remove instead of install and uninstall scripts. For more information about ACT commands, see ACT Commands for Managing Files.
  1. Go to https://downloads.teradata.com/download/aster
  2. Download the Aster Analytics Custom Schema Installer package.
  3. Unzip and copy these files to your current directory: make_install_scripts.py analytics_packages.csv
  4. Run this command, where SCHEMANAME is the name of the desired schema: python make_install_scripts.py $SCHEMANAME The Python script make_install_scripts.py reads the CSV file analytics_packages.csv, which tells which functions are in which packages, and generates install and uninstall SQL scripts for each package, which it saves to your current directory. The names of the generated SQL scripts have this format:

    install_PACKAGENAME_to_SCHEMANAME.sql

    un_install_PACKAGENAME_from_SCHEMANAME.sql

  5. If you are installing the package for the first time, proceed to Installing an Aster Analytics Function Package.
  6. If you are updating a package that is already installed, proceed to Updating an Aster Analytics Function Package.