Is possible to read an Azure Databricks table from Azure Data Factory?

三世轮回 提交于 2019-12-23 04:24:18

问题


I have a table into an Azure Databricks Cluster, i would like to replicate this data into an Azure SQL Database, to let another users analyze this data from Metabase.

Is it possible to acess databricks tables through Azure Data factory?


回答1:


No, unfortunately not. Databricks tables are typically temporary and last as long as your job/session is running. See here.

You would need to persist your databricks table to some storage in order to access it. Change your databricks job to dump the table to Blob storage as it's final action. In the next step of your data factory job, you can then read the dumped data from the storage account and process further.

Another option may be databricks delta although I have not tried this yet...




回答2:


If you register the table in the Databricks hive metastore then ADF could read from it using the ODBC source in ADF. Though this would require an IR. Alternatively you could write the table to external storage such as blob or lake. ADF can then read that file and push it to your sql database.



来源:https://stackoverflow.com/questions/54185630/is-possible-to-read-an-azure-databricks-table-from-azure-data-factory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!