SPRKSCL1163

Element is not a literal.

Description

This issue appears when the tool needs to know the value of some parameter and it is not a literal and can't be evaluated.

Input code

val format_type = "csv"
sparkSession.read.format(format_type).load(path)

Output code

/*EWI: SPRKSCL1163 => format_type is not a literal and can't be evaluated*/
val format_type = "csv"
sparkSession.read.format(format_type).load(path)

Recommendation

  • 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.

#332: [SIT-1562] SQL Readiness

Change request updated