SPRKSCL1163
Element is not a literal.
Description
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)