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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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 Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

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

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 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

    GPT-5 is Coming: Revolutionizing Software Testing

    July 22, 2025
    Development

    Win the Accessibility Game: Combining AI with Human Judgment

    July 22, 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

    Malicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attack

    Development

    BreachForums Operators Arrested by French Police

    Development

    CVE-2025-7830 – “Church Donation System SQL Injection Vulnerability”

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-43566 – ColdFusion versions 2025.1, 2023.13, 2021.19 and e

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Machine Learning

    Meet Open-Qwen2VL: A Fully Open and Compute-Efficient Multimodal Large Language Model

    April 4, 2025

    Multimodal Large Language Models (MLLMs) have advanced the integration of visual and textual modalities, enabling…

    Intl.DurationFormat is now Baseline Newly available

    May 2, 2025

    Microsoft’s new AI can be 4x more accurate and 20% cheaper than human doctors — Mustafa Suleyman calls it “a genuine step toward medical superintelligence”

    July 1, 2025

    CVE-2024-13420 – WordPress Envato Theme/Plugin Unauthorized Access Vulnerability

    May 2, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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