Skip to content

Tutorial: export data to Databricks

Coactive easily integrates with Databricks.

Export tables to databricks:

Example fo exporting tables to databricks.

1
2
3
4
spark.createDataFrame(search_df).write.mode("overwrite").saveAsTable("demo_search_results")
spark.createDataFrame(query_df).write.mode("overwrite").saveAsTable("demo_query_results")

display(spark.sql("SHOW TABLES"))