SPRKSCL1165

Reader format on DataFrameReader method chaining can't be defined.

Description

This issue appears when the tool can't determine the reader format of the DataFrameReader method chaining.

The recognized values by the tool are: csv, json, orc, parquet, text.

Input code

sparkSession.read.format("net.snowflake.spark.snowflake")
                 .option("query", s"select * from $tableName")
                 .load()

Output code

/*EWI: SPRKSCL1165 => Reader format on DataFrameReader method chaining can't be defined*/
sparkSession.read.format("net.snowflake.spark.snowflake")
                 .option("query", s"select * from $tableName")
                 .load()

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