I'm creating the table the following way:
spark.sql("CREATE TABLE IF NOT EXISTS table USING DELTA AS SELECT * FROM origin")
But i get this error:
Exception in thread "main" org.apache.spark.SparkException: Table implementation does not support writes: table