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 output data from Databricks?

Abdul1
New Contributor

Hello,

I am just starting with Databricks in Azure and I need to output the data to an Affinity CRM system.

Affinity has an API and I am wondering is there any sort of automated / data pipeline sort of way to tell databricks to just pump the data into Affinity or do I have to write some sort of Python script and make it run in Databricks?

Alternatively I could create a microservice that gets the data from Databricks and sends it to Affinity but that seems like the worst options to me.

I just don't know how the entire thing works.

1 REPLY 1

Edthehead
Contributor II

We need more info on what kind of data, volume and what the called APi can handle. Calling an API for single records in parallel can be achieved using UDF(see THIS). You need to be careful to batch the records so that the target API can handle the parallel load. If you want to send an entire file via API (assuming file size is within the API limits), you can use Synapse pipeline activity(assuming you are using Azure). Databricks does not have any inbuilt feature for this as far as I know.

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