Snowpark Migration Accelerator: Snowpark Connect Issue Codes for Scala¶
SPRKCNTSCL1000¶
Message The element < element > is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool detects the usage of an element that is not supported in Snowpark Connect and does not have its own error code associated with it. This is the generic error code used by the SMA for an unsupported element.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark library.
Output¶
The tool adds the comment to the statement pointing to the unsupported element.
Recommended fix¶
Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.
SPRKCNTSCL1500¶
Message The element < element > of the library RDD is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool determines that the usage instance of an RDD element is not supported in Snowpark Connect and does not have its own error code associated with it. This is the generic error code used by the SMA for RDD unsupported elements.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark.rdd library.
Output¶
The SMA adds the EWI SPRKCNTSCL1500 to the output code to let you know that this RDD element is not supported by Snowpark Connect.
Recommended fix¶
Convert RDD operations to DataFrame operations.
The key recommendation is to completely abandon RDD patterns and redesign your data processing logic using Snowpark’s DataFrame API and SQL capabilities, leveraging Snowflake’s distributed computing architecture rather than trying to replicate RDD functionality.
Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Please note that even though the element is not supported, it does not necessarily mean that a solution or workaround cannot be found. It means only that the SMA itself cannot find the solution.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.
SPRKCNTSCL2000¶
Message The element < element > of the library Streaming is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool determines that the usage instance of a Streaming element is not supported in Snowpark Connect, and does not have its own error code associated with it. This is the generic error code used by the SMA for Streaming unsupported elements.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark.streaming library.
Output¶
The SMA adds the EWI SPRKCNTSCL2000 to the output code to let you know that this Streaming element is not supported by Snowpark Connect.
Recommended fix¶
The key recommendation is to completely redesign streaming architecture to use external streaming platforms for real-time processing combined with Snowpark Connect for analytical batch processing, rather than trying to replicate Spark Streaming functionality.
Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Please note that even though the element is not supported, it does not necessarily mean that a solution or workaround cannot be found. It means only that the SMA itself cannot find the solution.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.
SPRKCNTSCL2500¶
Message The element < element > of the library ML is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool determines that the usage instance of an ML element is not supported in Snowpark Connect, and does not have its own error code associated with it. This is the generic error code used by the SMA for ML unsupported elements.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark.ml library.
Output¶
The SMA adds the EWI SPRKCNTSCL2500 to the output code to let you know that this ML element is not supported by Snowpark Connect.
Recommended fix¶
Use the Snowpark ML library.
Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Please note that even though the element is not supported, it does not necessarily mean that a solution or workaround cannot be found. It means only that the SMA itself cannot find the solution.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.
SPRKCNTSCL3000¶
Message The element < element > of the library MLLIB is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool determines the the usage instance of an MLLIB element is not supported in Snowpark Connect, and does not have its own error code associated with it. This is the generic error code used by the SMA for ML unsupported elements.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark.mllib library.
Output¶
The SMA adds the EWI SPRKCNTSCL3000 to the output code to let you know that this MLLIB element is not supported by Snowpark Connect.
Recommended fix¶
The key recommendation is to completely abandon MLlib patterns and redesign machine learning workflows using Snowpark ML, SQL-based ML functions, or hybrid approaches that leverage Snowflake distributed architecture rather than trying to replicate RDD-based MLlib functionality.
Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Please note that even though the element is not supported, it does not necessarily mean that a solution or workaround cannot be found. It means only that the SMA itself cannot find the solution.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.
SPRKCNTSCL3500¶
Message The element < element > of the library Spark Session is not supported for Snowpark Connect.
Category Conversion Error
Description¶
This issue appears when the tool determines that the usage instance of a Spark Session element is not supported in Snowpark Connect, and does not have its own error code associated with it. This is the generic error code used by the SMA for ML unsupported elements.
Scenario¶
Input¶
The tool found an unidentified element of the org.apache.spark.sql.SparkSession library.
Output¶
The SMA adds the EWI SPRKCNTSCL3500 to the output code to let you know that this Spark Session element is not supported by Snowpark Connect.
Recommended fix¶
The key is to replace
SparkSessionpatterns with equivalent SnowparkSessionoperations while leveraging Snowflake’s unique capabilities like warehouses, stages, and native SQL functions.Since this is a generic error code that applies to a range of unsupported functions, there is no single and specific fix. The appropriate action depends on the particular element in use.
Please note that even though the element is not supported, it does not necessarily mean that a solution or workaround cannot be found. It means only that the SMA itself cannot find the solution.
Additional recommendations¶
Even though the option or the element on the message is not supported, this does not mean that a solution cannot be found. It means only that the tool itself cannot find the solution.
If you believe that Snowpark Connect already supports this element or that there is a workaround, please report that you encountered a conversion error on that particular element using the Report an Issue option in the SMA and include any additional information that you think may be helpful.
For more support, email support at sma-support@snowflake.com or post an issue in the SMA.