Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Harness Infrastructure as Code Management expands with features that facilitate better reusability

      July 15, 2025

      Akka introduces platform for distributed agentic AI

      July 14, 2025

      Design Patterns For AI Interfaces

      July 14, 2025

      Amazon launches spec-driven AI IDE, Kiro

      July 14, 2025

      AI-powered malware eludes Microsoft Defender’s security checks 8% of the time — with just 3 months of training and “reinforcement learning” for around $1,600

      July 15, 2025

      7 games that are perfect for handheld gaming PCs — with my favorite Steam Deck, ROG Ally, and Legion Go titles

      July 15, 2025

      Windows 11 Firewall with Advanced Security flags up errors in “under development” code — but it’s nothing to worry about

      July 15, 2025

      Metal Gear Solid Delta: Snake Eater — How to pre-order, release dates, story, gameplay, and everything else you need to know

      July 15, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The details of TC39’s last meeting

      July 15, 2025
      Recent

      The details of TC39’s last meeting

      July 15, 2025

      We’re Moving! NodeSource Distributions Now Have a New Home – With Extended Support

      July 15, 2025

      Stream API in Java: Enhancements and Use Cases

      July 15, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      AI-powered malware eludes Microsoft Defender’s security checks 8% of the time — with just 3 months of training and “reinforcement learning” for around $1,600

      July 15, 2025
      Recent

      AI-powered malware eludes Microsoft Defender’s security checks 8% of the time — with just 3 months of training and “reinforcement learning” for around $1,600

      July 15, 2025

      7 games that are perfect for handheld gaming PCs — with my favorite Steam Deck, ROG Ally, and Legion Go titles

      July 15, 2025

      Windows 11 Firewall with Advanced Security flags up errors in “under development” code — but it’s nothing to worry about

      July 15, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Salesforce to Databricks: A Deep Dive into Integration Strategies

    Salesforce to Databricks: A Deep Dive into Integration Strategies

    July 15, 2025

    Supplementing Salesforce with Databricks as an enterprise Lakehouse solution brings advantages for various personas across an organization. Customer experience data is highly valued when it comes to driving personalized customer journeys leveraging company-wide applications beyond Salesforce. From enhanced customer satisfaction to tailored engagements and offerings that drive business renewals and expansions, the advantages are hard to miss. Databricks maps data from a variety of enterprise apps, including those used by Sales, Marketing and Finance. Consequently, layering Databricks Generative AI and predictive ML capabilities provide easily accessible best-fit recommendations that help eliminate challenges and highlight success areas within your company’s customer base.

    In this blog, I elaborate on the different methods whereby Salesforce data is made accessible from within Databricks. While accessing Databricks data from Salesforce is possible, it is not the topic of this post and will perhaps be tackled in a later blog. I have focused on the built-in capabilities within both Salesforce and Databricks and have therefore excluded 3rd party data integration platforms. There are three main ways to achieve this integration:

    1. Databricks Lakeflow Ingestion from Salesforce
    2. Databricks Query Federation from Salesforce Data Cloud
    3. Databricks Files Sharing from Salesforce Data Cloud

    Choosing the best approach to use depends on your use case. The decision is driven by several factors, such as the expected latency of accessing the latest Salesforce data, the complexity of the data transformations needed, and the volume of Salesforce data of interest. And it may very well be that more than one method is implemented to cater for different requirements.

    While the first method copies the raw Salesforce data over to Databricks, methods 2 and 3 offer no-copy alternatives, thus leveraging Salesforce Data Cloud itself as the raw data layer. The no-copy alternatives are great in that they leverage Salesforce’s native capability of managing its own data lake thus eliminating overhead by redoing that effort. However, there are limitations to doing that, depending on the use case. The matrix below presents how each method compares when factoring in the key criteria for integration.

    Method Lakeflow Ingestion Salesforce Data Cloud Query Federation Salesforce Data Cloud File Sharing
    Type Data Ingestion Zero-Copy Zero-Copy
    Supports Salesforce Data Cloud as a Source? ✔︎ Yes ✔︎ Yes ✔︎ Yes
    Incremental Data Refreshes ✔︎ Automated processing into Databricks based on SF standard timestamp fields. Formula fields always require a full refresh of the formulas. ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    Processing of Soft Deletes ✔︎ Yes Supported incrementally ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    Processing of Hard Deletes ✘ Requires a full refresh ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    ✔︎ Automated in SF Data Cloud
    (Requires custom handling if copying to Databricks)
    Query Response Time ✔︎ Best as data is queried from a local copy and processed within Databricks ⚠ Slower as query response is dependent on SF Data Cloud, and data has to travel across networks ⚠ Slower as data travels across networks
    Supports Real-Time Querying? ✘ No

    The pipeline runs on a schedule to copy data for example, hourly, daily, etc.

    ✔︎ Yes

    Live query execution on SF Data Cloud
    (Data Cloud DLO is refreshed from Salesforce modules either in batches, streaming (every 3 min), or in real-time.)

    ✔︎ Yes

    Live data sourced from SF Data Cloud
    (Data Cloud DLO is refreshed from Salesforce modules either in batches, streaming (every 3 min), or in real-time.)

    Supports Databricks Streaming Pipelines? ✔︎ Yes, With Declarative Pipelines into Streaming tables (DLT) (runs as micro-batch jobs) ✘ No ✘ No
    Suitable for High Data Volume? ✔︎ Yes
    SF Bulk API is called for high data volumes such as initial loads, and SF REST API is used for lower data volumes such as limited data volume incremental loads.
    ✘ No
    Reliant on JDBC Query Pushdown limitations and SF performance
    ⚠ Moderate
    This method is more suitable than Query Federation when it comes to zero-copy with high volumes of data.
    Supports Data Transformation ⚠ No direct transformation. Ingests SF objects as is. Transformation happens downstream in the Declarative Pipeline. ✔︎ Yes. DBRX pushes queries over to Salesforce using JDBC protocol. ✔︎ Yes. Transformations execute on Databricks compute
    Protocol SF REST API and Bulk API over HTTPS JDBC over HTTPS Salesforce Data Cloud DaaS APIs over HTTPS (file-based access)
    Scalability Up to 250 objects per pipeline. Multiple pipelines are allowed. Depending on SF Data Cloud performance when running transformation with multiple objects Up to 250 Data Cloud objects may be included in a data share. Up to 10 data shares.
    Salesforce Prerequisites API-enabled Salesforce user with access to desired objects Salesforce Data Cloud must be available.

    Data Cloud DMOs mapped to DLOs with Streams or other methods for Data Lake population.

    Enable JDBC API access to Data Cloud.

    Salesforce Data Cloud must be available.

    Data Cloud DMOs mapped to DLOs with Streams or other methods for Data Lake population.

    Data share target is created in SF with shared objects.

    If you’re looking for guidance on leveraging Databricks with Salesforce, reach out to Perficient for a discussion with Salesforce and Databricks specialists.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticlePerficient Included Again in IDC Market Glance for Customer Experience Services
    Next Article Stream API in Java: Enhancements and Use Cases

    Related Posts

    Development

    The details of TC39’s last meeting

    July 15, 2025
    Development

    We’re Moving! NodeSource Distributions Now Have a New Home – With Extended Support

    July 15, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    SAP NetWeaver Flaw Scores 10.0 Severity as Hackers Deploy Web Shells

    Security

    CVE-2025-48936 – Zitadel Host Header Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Why I recommend this Nikon camera to most beginner photographers – especially at this price

    News & Updates

    CVE-2025-52969 – ClickHouse Executable Table Command Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Windows 10 KB5063159 released after June patch trashes Surface Hub v1

    June 17, 2025

    Windows 10 KB5063159 (June 16) is an out-of-band update to replace the existing KB5060533 (June…

    Android Wi-Fi Direct bug means hackers can reboot your device

    April 9, 2025

    ASUS warns of critical auth bypass flaw in routers using AiCloud

    April 20, 2025

    Blackhat: Lessons from the Michael Mann, Chris Hemsworth movie?

    April 9, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.