SPRKPY1052
pyspark.sql.session.SparkSession.Builder.enableHiveSupport
This issue code has been deprecated since Spark Conversion Core Version 2.8.0
Message: pyspark.sql.session.SparkSession.Builder.enableHiveSupport has a workaround
Category: Warning.
Description
This issue appears when the tool detects the usage of pyspark.sql.session.SparkSession.Builder.enableHiveSupport which has a workaround.
Scenario
Input
Below is an example that configures the SparkSession and enables the hive support using the method enableHiveSupport
.
Output
The tool adds the EWI SPRKPY1052
indicating that a workaround can be implemented.
Recommended fix
Remove the use of enableHiveSupport
function because it is not needed in Snowpark.
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated