MLOAD
Translation references to convert Teradata MLOAD files to Python
Teradata MultiLoad is a command-driven utility for fast, high-volume maintenance on multiple tables and views in Teradata Database.
In order to simulate the MultiLoad functionality for Teradata in Snowflake, MultiLoad files and commands are transformed to Python code, similar to the transformations performed for BTEQ and FastLoad scripts. The generated code uses the Snowflake Python project called snowconvert.helpers which contains the required functions to simulate the MultiLoad statements in Snowflake.
MultiLoad Commands Translation
Most of the MultiLoad Commands are considered not relevant in Snowflake, these commands are commented out. Below is the summary list of MultiLoad commands and their transformation status into Snowflake:
ACCEPT
Commented
β
Transformed
ββThe node is commented out since the transformation occurs in other related statements instead.
BEGIN DELETE MLOAD
Commented
β
DATEFORM
Commented
β
DELETE
Partially transformed
DISPLAY
Commented
β
Transformed
β
END MLOAD
Transformed
ββCommented out since is not necessary for the transformation of the BEGIN MLOAD.
EOC
Commented
β
Transformed
β
Transformed
This command needs to be with a FIELD and LAYOUT command to be converted.
IF, ELSE, and ENDIF
Commented
β
Transformed
β
INSERT
Transformed
This is taken as a Teradata Statement, so it doesn't appear in this chapter.
Transformed
This command needs to be with a FIELD and FILLER command to be converted.
LOGDATA
Commented
β
LOGMECH
Commented
β
LOGOFF
Commented
β
LOGON
Commented
β
LOGTABLE
Commented
β
PAUSE ACQUISITION
Commented
β
RELEASE MLOAD
Commented
β
ROUTE MESSAGES
Commented
β
RUN FILE
Commented
β
SET
Commented
β
SYSTEM
Commented
β
TABLE
Commented
β
UPDATE
Transformed
This is taken as a Teradata Statement, so it doesn't appear in this chapter.
VERSION
Commented
β
However, there are some exceptional commands that must be converted into Python-specific code for them to work as intended in Snowflake. See this section.
If you have any additional questions regarding this documentation, you can email us at snowconvert-support@snowflake.com.
Last updated