SPRKSCL1166

The parameter is not supported for org.apache.spark.sql.DataFrameReader.format.

Description

This issue appears when the tool detects the parameter of the function org.apache.spark.sql.DataFrameReader.format is not supported.

The supported values for org.apache.spark.sql.DataFrameReader.format are: csv, json, parquet and orc.

Input code

sparkSession.read.format("text").load(path)

Output code

/*EWI: SPRKSCL1166 => The parameter text is not supported for org.apache.spark.sql.DataFrameReader.format*/
sparkSession.read.format("text").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.