cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Cloud Fetch APIs?

edwardh
New Contributor III

About Cloud Fetch mentioned in this article:

https://databricks.com/blog/2021/08/11/how-we-achieved-high-bandwidth-connectivity-with-bi-tools.htm...

Are there any public APIs that can be called directly without ODBC or JDBC drivers?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @edwardh@kasoftware.cn​ ,

The ODBC driver version 2.6.17 and above supports Cloud Fetch, a capability that fetches query results through the cloud storage set up in your Azure Databricks deployment.

To extract query results using this format, you need Databricks Runtime 8.3 or above.

Query results are uploaded to an internal DBFS storage location as arrow-serialized files of up to 20 MB. Azure Databricks generates and returns shared access signatures to the uploaded files when the driver sends fetch requests after query completion. The ODBC driver then uses the URLs to download the results directly from DBFS.

Cloud Fetch is only used for query results more significant than 1 MB. More minor effects are retrieved directly from Azure Databricks.

Azure Databricks automatically collects the accumulated files marked for deletion after 24 hours. These marked files are wholly deleted after an additional 24 hours.

To learn more about the Cloud Fetch architecture, see How We Achieved High-bandwidth Connectivity With BI Tools.

Here are some similar threads with some fantastic conversations on Cloud Fetch:-

View solution in original post

9 REPLIES 9

Kaniz
Community Manager
Community Manager

Hi @ edwardh@kasoftware.cn! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will get back to you soon. Thanks.

Atanu
Esteemed Contributor
Esteemed Contributor

Actually we need connector for ani BI tools or for similar connectivity. @edwardh@kasoftware.cn​ 

edwardh
New Contributor III

Thank you for the explanation.

edwardh
New Contributor III

Hi @Kaniz Fatma​, can you please give some help on this question? Thanks 😁

Kaniz
Community Manager
Community Manager

Hi @edwardh@kasoftware.cn​ ,

The ODBC driver version 2.6.17 and above supports Cloud Fetch, a capability that fetches query results through the cloud storage set up in your Azure Databricks deployment.

To extract query results using this format, you need Databricks Runtime 8.3 or above.

Query results are uploaded to an internal DBFS storage location as arrow-serialized files of up to 20 MB. Azure Databricks generates and returns shared access signatures to the uploaded files when the driver sends fetch requests after query completion. The ODBC driver then uses the URLs to download the results directly from DBFS.

Cloud Fetch is only used for query results more significant than 1 MB. More minor effects are retrieved directly from Azure Databricks.

Azure Databricks automatically collects the accumulated files marked for deletion after 24 hours. These marked files are wholly deleted after an additional 24 hours.

To learn more about the Cloud Fetch architecture, see How We Achieved High-bandwidth Connectivity With BI Tools.

Here are some similar threads with some fantastic conversations on Cloud Fetch:-

edwardh
New Contributor III

It's very detailed, thank you for the explanation!

Kaniz
Community Manager
Community Manager

Hi @edwardh@kasoftware.cn​ , Thank you for the update. Would you mind marking the answer as the best in that case, please?

edwardh
New Contributor III

Sure.​

Kaniz
Community Manager
Community Manager

Thank you @edwardh@kasoftware.cn​ !

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.