scala> spark.sql("create table t1(id int, name string) using parquet")
res0: org.apache.spark.sql.DataFrame = []
scala> spark.sql("insert into t1(id, nn) values(1, 'name')")
org.apache.spark.sql.AnalysisException: Cannot resolve column name nn; line 1 pos 0
at org.apache.spark.sql.errors.QueryCompilationErrors$.cannotResolveUserSpecifiedColumnsError(QueryCompilationErrors.scala:406)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveUserSpecifiedColumns$.$anonfun$resolveUserSpecifiedColumns$2(Analyzer.scala:3406)
at scala.Option.getOrElse(Option.scala:189)