Import Statements
Transformed import statement sample:
A Pyspark import statement with equivalence to Snowpark can be directly transformed by the Conversion Tool.
Input Code:
Output Code:
Non transformed import statement sample:
A Pyspark import statement with no equivalence to Snowpark can not be transformed by the Conversion Tool, so it proceeds as follows:
The tool generates an EWI based on the specific issue.
The non-transformed line code is changed to a commented line.
The Conversion Tool replaces the statement with a keyword: “pass.”
Input Code:
Output Code:
Last updated