SPRKPY1066
The Spark element does not apply.
Message: The Spark element does not apply since snowflake use micro-partitioning mechanism are created automatically.
Category: Warning
Description
This issue appears when the tool detects the usage of elements related to partitions:
Those elements do not apply due the use of micro-partitions of Snowflake.
Input code
In this example sortWithinPartitions it's used to create a partition in a DataFrame sorted by the specified column.
Output code
The SMA adds an EWI message indicating that Spark element is not required.
Recommended fix
Remove the usage of the element.
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated