SPRKPY1067
pyspark.sql.functions.split
Last updated
pyspark.sql.functions.split
Last updated
Message: The pyspark.sql.functions.split has parameters that are not supported in Snowpark.
Category: Warning
This issue appears when the tool detects the usage of with more than two parameters or a regex pattern as a parameter; both cases are not supported.
Input code
In this example the split function has more than two parameters.
Output code
The tool adds this EWI on the output code to let you know that this function is not supported when it has more than two parameters.
Recommended fix
Keep the split function with only two parameters.
Input code
In this example the split function has a regex pattern as a parameter.
Output code
The tool adds this EWI on the output code to let you know that this function is not supported when it has a regex pattern as a parameter.
Recommended fix
The spark signature for this method functions.split(str: ColumnOrName, pattern: str, limit: int = - 1)
not exactly match with the method in Snowpark functions.split(str: Union[Column, str], pattern: Union[Column, str])
so for now the scenario using regular expression does not have a recommended fix.
For more support, you can email us at or post an issue .