HiveContext
The transformation consists of replacing an HiveContext call with the parameter used in the pyspark function. The variable spark_context is transformed from a HiveContext instance to a Snowpark Session instance, making it understandable using Snowflake. Note that the transformation generates an EWI specifying that the import statement is not required.
Input Code:
Output Code:
Last updated