MSCEWI2086
Shell variables found, running this code in a shell script is required.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
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