Reputation: 21
I have Azure Databrick notebook which contain SQL command. I need to capture output of SQL command and use in Dot Net core. Need help.
Upvotes: 2
Views: 3312
Reputation: 936
You cannot capture results of Azure Databricks Notebook directly in Dot Net Core. Also, there are no .NET SDK's available and so you need to rely on Databricks REST API's from your .NET code for all your operations. You could try the following -
df.write.format("com.databricks.spark.csv").option("header","true").save("sqlResults.csv")
Upvotes: 2