spark-submit fails when case class fields are reserved java keywords with backticks
问题 I have backticks used for reserved keyword. One example for the case class is as follows: case class IPC( `type`: String, main: Boolean, normalized: String, section:String, `class`: String, subClass: String, group:String, subGroup: String ) I have declared the sparksession as follows: def run(params: SparkApp.Params): Unit ={ val sparkSession = SparkSession.builder.master("local[*]").appName("SparkUsptoParser").getOrCreate() // val conf = new SparkConf().setAppName("SparkUsptoParser").set(