SPRKSCL1111
org.apache.spark.sql.types.DataTypes.CreateDecimalType
Last updated
org.apache.spark.sql.types.DataTypes.CreateDecimalType
Last updated
Message: CreateDecimalType is not supported.
Category: Conversion error.
This issue appears when the SMA detects a usage function.
Input
Below is an example of usage of org.apache.spark.sql.types.DataTypes.CreateDecimalType function.
Output
The SMA adds the EWI SPRKSCL1111
to the output code to let you know that CreateDecimalType function is not supported by Snowpark.
Recommended fix
There is not a recommended fix yet.
Message: Spark Session builder option is not supported.
Category: Conversion Error.
Input
Below is an example of the org.apache.spark.sql.SparkSession.Builder.config
function used to set an option in the Spark Session.
Output
The SMA adds the EWI SPRKSCL1104
to the output code to let you know config method is not supported by Snowpark. Then, it is not possible to set options in the Spark Session via config function and it might affects the migration of the Spark Session statement.
Recommended fix
To create the session is require to add the proper Snowflake Snowpark configuration.
In this example a configs variable is used.
Also is recommended the use of a configFile (profile.properties) with the connection information:
And with the Session.builder.configFile
the session can be created:
This issue appears when the SMA detects a use of the function, which is setting an option of the Spark Session and it is not supported by Snowpark.
For more support, you can email us at or post an issue .