cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

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_Fatma
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 ๐Ÿ˜

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!

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.โ€‹

Thank you @edwardh@kasoftware.cnโ€‹ !

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group