SSC-FDM-TD0022
Shell variables found, running this code in a shell script is required.
Description
In Teradata scripts, shell variables are used to store temporary values that can be accessed and manipulated throughout the script. Shell variables are defined using the dollar sign ($) followed by a name (which can be enclosed by curly braces), and their values can be set using the assignment operator (=).
You can think of shell variables having the same or similar function as string interpolation. Thus, it is important to keep this functionality when transformed. When converting Scripts to Python, shell variables keep their functionality by running the converted code in a shell script (.sh file). For this reason, these shell variables must keep the same format as the input code.
Example Code
Input Code:
Output Code
Recommendations
Running the converted code in a shell script is required.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated