Use an alternative API and specify a charset name or Charset object explicitly – Apache
Sonar is complaining my scala code need to use a different API to specify a charset name or Charset object explicitly. class UpdatePartitionsFile(val sparkSession: SparkSession, val tableName: String, val partitionsfilePath: String) { .... def getPartitions: (String, String) = { val…