SPRKPY1074

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.

Input code:

def foo():
    x = 5 # spaces
    y = 6 # tab

Output code:

# EWI: SPRKPY1074 => File has mixed indentation (spaces and tabs).
# This file was not converted, so it is expected to still have references to the Spark API
def foo():
    x = 5 # spaces
    y = 6 # tabs

Recommendations

  • For more support, you can email us at snowconvert-info@snowflake.com. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.

  • Useful tools PEP-8 and Reindent.

Last updated

#332: [SIT-1562] SQL Readiness

Change request updated