SPRKPY1048
pyspark.sql.session.SparkSession.conf has workaround
Description
This issue appears when the tool detects the usage of pyspark.sql.session.SparkSession.conf which has a workaround. Note: This workaround is deprecated because a later tool version supports the conf snowflake function as direct.
Input code:
Output code:
Scenario
property SparkSession.conf
Action: SparkSession.conf is used to pass some specific settings only used by Pyspark and doesn't apply to Snowpark. You can remove or comment the code
Recommendation
For more support, you can email us at snowconvert-info@snowflake.com. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.
Last updated