SPRKPY1017
pyspark.sql.functions.date_add has a workaround
Last updated
pyspark.sql.functions.date_add has a workaround
Last updated
This issue code has been deprecated since
pyspark.sql.functions.date_add has a workaround
Category: Warning.
This issue appears when the tool detects the usage of which has a workaround.
Input
In this example we use date_add to calculate the date 5 days after the current date for the dataframe df.
Output
SMA returns the EWI SPRKPY1017 over the line where date_add is used, so you can use to identify where to fix.
Recommended fix
Import snowflake.snowpark.functions, which contains an implementation for (and alias dateAdd) function.
For more support, you can email us at or post an issue .