Script Methods | Table Operators | Teradata Python Package - Script Methods - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.10
Published
May 2022
Language
English (United States)
Last Update
2022-08-18
dita:mapPath
rsu1641592952675.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage
As an interface to the SCRIPT table operator object in Advanced SQL Engine, Script offers execution in two modes:
  • Test/Debug mode: to test user scripts locally in a containerized environment.
    Supported methods:
  • In-Database Script Execution mode: to execute user scripts in database.
    Supported methods:

Required Docker and OS Versions

setup_sto_env method and test_script method are supported on the following platforms with Docker 19.03.5 or later versions:
  • Ubuntu 16.04.2 LTS or later versions
  • CentOS Linux 7 or later versions
  • RHEL 7.1 or later versions
  • Windows 10 or later versions
  • macOS 13 or later versions

All other methods: set_data, execute_script, install_file, remove_file, do not require Docker and work on all teradataml supported platforms.

setup_sto_env method and test_script method will not work on VMs that do not have docker setup.

Users will encounter issues with docker setup on VMs that do no support nested virtualization. For example, "Failed to start the virtual machine name of virtual machine because one of the Hyper-V components is not running."

See https://docs.docker.com/docker-for-windows/troubleshoot/#running-docker-desktop-for-windows-in-nested-virtualization-scenarios for details about this issue.