SPRKPY1064
The Spark element does not apply.
Message: The Spark element does not apply since snowflake uses snowpipe mechanism instead.
Category: Warning
Description
This issue appears when the tool detects the usage of any element from the pyspark.streaming library:
pyspark.streaming.listener.StreamingListener.
Scenario
Input
Below is an example with one of the elements that trigger this EWI.
Output
The SMA adds the EWI SPRKPY1064
on the output code to let you know that this function does not apply.
Recommended fix
The SMA removes the import statement and adds the issue to the Issues.csv inventory, remove any usages of the Spark element.
Additional recommendations
Check the documentation for Snowpipe to see how it fits to the current scenario.
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated