SPRKPY1061
pyspark.sql.functions.unix_timestamp
Last updated
pyspark.sql.functions.unix_timestamp
Last updated
Message: Snowpark does not support unix_timestamp functions
Category: Warning
In Snowpark, the first parameter is mandatory; the issue appears when the tool detects the usage of with no parameters.
Input
Below an example that calls the unix_timestamp
method without parameters.
Output
The Snowpark signature for this function unix_timestamp(e: ColumnOrName, fmt: Optional["Column"] = None)
, as you can notice the first parameter it's required.
The tool adds this EWI SPRKPY1061
to let you know that function unix_timestamp with no parameters it's not supported in Snowpark.
Recommended fix
As a workaround, you can add at least the name or column of the timestamp string.
You also can add the as the first parameter.
For more support, you can email us at or post an issue .