SPRKPY1074
Mixed indentation symbols
Message: File has mixed indentation (spaces and tabs).
Category: Parsing error.
Description
This issue appears when the tool detects the file has a mixed indentation. It means, file has a combination of spaces and tabs to indent code lines.
Scenario
Input
In Pyspark you can mix spaces and tabs for the identation level.
Output
SMA cannot handle mixed indentation markers. When this is detected on a python code file SMA adds the EWI SPRKPY1074 on first line.
Recommended fix
The solution is to make all the indentation symbols the same.
Additional recommendations
For more support, you can email us at sma-support@snowflake.com or post an issue in the SMA.
Last updated