2

So i was trying to use delta lake write df_concat.write.format("delta").mode("overwrite").save("file") it gives me this error :

java.lang.NoClassDefFoundError: org/apache/spark/sql/connector/catalog/TableProvider and delta lake doc says update to spark3 so just want to confirm if we can run deltalake on spark2.xx

Alex Ott
  • 80,552
  • 8
  • 87
  • 132

1 Answers1

6

You can use Delta release 0.6.1 - the latest that supported Spark 2.x. You need to have at least Spark 2.4.2 to run it. Just run your code with --packages io.delta:delta-core_2.11:0.6.1, or link it to the application

Alex Ott
  • 80,552
  • 8
  • 87
  • 132