in thread "main" java.lang.NoSuchMethodError: org.apache.spark.sql.internal.SQLConf$.LEGACY_PASS_PARTITION_BY_AS_OPTIONS()Lorg/apache/spark/internal/config/ConfigEntry;
at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:277)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:271)
in thread "main" java.lang.NoSuchMethodError: org.apache.spark.sql.internal.SQLConf$.LEGACY_PASS_PARTITION_BY_AS_OPTIONS()Lorg/apache/spark/internal/config/ConfigEntry; at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:277) at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:271)