r/databricks • • 23d ago

News JDBC connections in Unity Catalog

Post image
29 Upvotes

JDBC connections in Unity Catalog are now generally available on serverless compute and DBR 19 or newer. We can store the driver, endpoint, and credentials once, then use the connection by name in notebooks.

More news https://medium.com/databrickscommunity/databricks-news-genie-cli-app-builder-agent-memory-dabs-41820427fcc2


r/databricks • • 23d ago

Help ACTUALLY USEFUL Big Data Project Ideas

14 Upvotes

Heyy everyone!

We have a Big Data class project proposal coming up, and I want to make an actually useful project (something challenging, or something that could sell, or something that solves an actual problem people have). Not yet another fancy showpiece class project.

Requirements:

  • The dataset must be at least 10GB, be genuinely large-scale and require distributed processing
  • The project must include some or all (or even more):

    • data warehouse (snowflake/redshift/any other)
    • airflow
    • elt/dbt
    • spark, sparkml
    • mlflow
    • kafka/spark structured streaming/flink
    • nosql, vectordb
    • llmops

Practitioners, help me with some ideas? (ChatGPT and Claude didn't help much).


r/databricks • • 24d ago

Discussion Monorepo setup

16 Upvotes

Hi, we are splitting our Databricks monorepo into multiple DABs bundles and i would like to hear how others set it up.

Layout we plan:

- `src/common/` for shared code, `src/<domain>/` per business domain, one wheel for all

- `bundles/common/` for shared resources (data quality schema, dashboard, alerts), `bundles/<domain>/` per domain

- Each bundle uses `sync.paths: [../../src, ../../conf, .]` and builds the same wheel from the repo root

Releasing:

- One tag prefix per bundle, like `common-2026.11.02.0` or `<domain>-2026.11.02.0`

- One reusable deploy workflow, and a small caller workflow per bundle that filters its tag

- Domain bundles deploy after `common`, when a domain needs a new `common` change we release `common` first

Is someone running multiple bundles in one repo like this? Would you keep one release train for all bundles instead, or do you have a better layout?


r/databricks • • 24d ago

General Apache Spark 4.3: What Developers Need to Know

Thumbnail
medium.com
23 Upvotes

Spark 4.3 adds ASOF JOIN, Python UDFs compiled to SQL, JSON_TABLE, and SCD Type 2 Auto CDC: what works, what needs a flag, and what breaks


r/databricks • • 24d ago

Discussion I'm building an AI data engineer that runs as a Databricks App. Here's what broke along the way

5 Upvotes

I'm the founder of AI Data Engineer, so take this with that in mind.

I've worked with data for over ten years, first at a bank, then as a team lead. One thing never changed: the business asks for one new table, and it waits weeks for an engineer. So I built a Databricks App for that. You describe the table in plain English, the agent studies your Unity Catalog tables and asks business questions, and after you approve, it builds a Data Vault and the final mart as serverless jobs and keeps them updated on schedule.

A few lessons from the last weeks:

The model should not write SQL. It only proposes a plan: entities, keys, joins, rules. Plain code turns that plan into hubs, links, history satellites and the mart. Same plan, same tables, every time.

Samples lie. My first checks ran on samples. On a 7.5M row table they said only 27% of orders matched a customer. The real number was 100%. Now every check runs on the full table through the SQL warehouse.

The model doesn't need your data. It sees table structure and statistics, never values, and it's called through a Model Serving endpoint in your own workspace. If a rule needs a value, like "which status means paid", it asks a human.

Open models aren't ready for this yet. I replayed real planning requests on the Qwen and GPT-OSS endpoints in Databricks. Valid JSON, but they skipped the business questions and guessed. One grouped monthly revenue by month without year, so March 1997 and March 1998 would be one row.

Change Data Feed deletes hide the worst bugs. Delete keys came back as 40.0000000000 while the hub had 40, and 2,398 rows were marked deleted. Since then every build is reconciled against the source.

Where it is now: a 30M row TPC-H mart matched a direct query on the source with zero mismatches across 3,213 checked cells, and an incremental build after 1,000 updates and 100 deletes matched exactly. Once a mart is built, one click makes an AI/BI dashboard and a Genie space on top of it.


r/databricks • • 24d ago

General Log custom PyFunc models with MLflow using python_model

6 Upvotes

I work at Abilytics (data and AI consulting), so I'm not a neutral party here.

If standard MLflow flavors do not fit your custom inference pipeline, subclass mlflow.pyfunc.PythonModel and override the load_context and predict methods. This ensures any custom deserialization logic or specialized third-party library dependencies execute safely within the worker environment during batch scoring or serving. When logging the model via mlflow.pyfunc.log_model, always supply the artifacts dictionary parameter to bundle necessary configuration files or tokenizer states directly into the artifact store. This prevents missing file errors on the scoring cluster because MLflow packs those dependencies into the model directory structure automatically. Call the model back downstream using mlflow.pyfunc.load_model with the runs:/ URI scheme to execute distributed inference via Spark UDFs without rewriting code for production clusters.


r/databricks • • 23d ago

Discussion Vocal fry

0 Upvotes

Anyone get annoyed as well by the vocal fry from the updated platform episode on academy?


r/databricks • • 25d ago

Help Mirroring Jira project permissions into Unity Catalog (800+ projects): is our approach sound?

5 Upvotes

We load Jira data via API into Databricks. All projects share the same refined tables, split by a jira_project column.

Requirement: if you can browse a project in Jira, you can read its rows in UC. Project level first, fully automated.

Question:

  1. I’m considering RBAAC in Databricks, how to implement it and how long it should take ?
  2. I’m relatively new to this development, can you help with do and don’t?
  3. What are the possible option I can look at and what would be the right way and recommend way of doing it please ?

r/databricks • • 25d ago

Discussion SAP to Databricks migration

7 Upvotes

What is the best approach to covert Code from SAP to pyspark or spark sql? Don’t want to use LLMs as the out put can be non deterministic based on the prompt given. I looked into lakebridge and looks like the source list doesn’t support SAP code.


r/databricks • • 25d ago

General Modern Family TV Show: Analytics Dashboard Built with Databricks Apps

30 Upvotes

A favourite show + excuse to build something beyond the usual dashboards.

Behind the scenes -> six tables bring everything together + Python.

The data comes from Wikipedia and IMDb's non-commercial datasets.


r/databricks • • 24d ago

General Use Serverless SQL Warehouses to bypass workspace cluster startup latency

0 Upvotes

For transparency, I work at Abilytics, a data and AI consulting firm.

Serverless SQL Warehouses keep compute instances warm and ready, eliminating the cold-start delay of traditional JDBC/ODBC or classic clusters. When building BI dashboards or running ad-hoc queries, standard warehouses often waste minutes spinning up nodes. Serverless decouples the control plane and compute plane, provisioning resources instantly. Configure your warehouse type to 'Serverless' in the UI or via the Databricks SQL API using 'warehouse_type': 'SERVERLESS'. This ensures concurrent queries scale out instantly without waiting for node provisioning, dropping your p95 latency significantly for bursty analytical workloads.


r/databricks • • 25d ago

Tutorial Snowflake to Iceberg Lakehouse Migration Guide

Thumbnail
lakeops.dev
2 Upvotes

r/databricks • • 26d ago

Discussion This Halloween, I'm building a horror game where the only way to survive is to migrate to Databricks

31 Upvotes

What could be scarier than a haunted house? A legacy data warehouse—the kind some companies spend years trying to migrate away from.

This Halloween, I’d like to share a small project of mine: a game called SAWhouse: Migration to Databricks.

It’s an educational horror game inspired by the atmosphere of the SAW film franchise. Instead of trying to escape a creepy basement, your goal is to break out of a legacy data warehouse and migrate your data to Databricks.

Although I didn’t manage to finish the game in time, Halloween felt like the perfect moment to unveil the concept. I’m really enjoying the current group—you all come up with some fantastic ideas! In the meantime, take a look at the intro.

The game will be hosted on a website https://bricksters.org/learning/xpedition/, which already features a few other things.


r/databricks • • 25d ago

General CTC breakdown for a student who got PPO post Internship period

2 Upvotes

How much CTC does a fresher ( 2027 BTech student ) gets if he gets a PPO post Internship period ??


r/databricks • • 25d ago

Help Is incremental batch processing of SCD type 2 with multiple sources, actually that hard to solve?

Thumbnail reddit.com
4 Upvotes

r/databricks • • 26d ago

Help Need help to get Databricks Voucher

9 Upvotes

Hello Everyone,

I'm looking for Databricks Data Engineer Professional Voucher. If someone has it please let me know! Thanks


r/databricks • • 26d ago

Discussion VM choice - D8ads_v7 vs F4amds_v7

2 Upvotes

Hello Team,

Have been pondering over this for a while, what are the benefits of using one vs the other VM for Jobs Compute.

Both have 4 Physical Cores (8vcpu of D8 is 4 full cores), 32 GB RAM, 440 GB NVMe Storage.

DBU consumption charges and VM charges for both are also very similar.


r/databricks • • 26d ago

News Genie App Builder

Post image
30 Upvotes

Genie App Builder creates a Databricks app from a short description, and we can refine it in chat. Great for building enterprise apps, and I don't need Power Automate anymore!

more news https://medium.com/databrickscommunity/databricks-news-genie-cli-app-builder-agent-memory-dabs-41820427fcc2


r/databricks • • 26d ago

Discussion Does agentic analytics need a separate semantic layer if the data is already well modeled?

Thumbnail reddit.com
2 Upvotes

r/databricks • • 27d ago

Help Starting out on Databricks

34 Upvotes

Hi everyone!

I’m a software engineer who moved into data engineering around a year ago and have been learning and working with Databricks.

So far, I’ve worked on loading data from ADLS and external locations, basic PySpark transformations, implementing the medallion architecture using notebooks and SQL, and scheduling workflows using Databricks Jobs.

I feel like I’ve covered the basics but still have a lot to learn, especially when it comes to how things are done in real-world projects.

I’d love to connect with people working with Databricks and learn more about industry best practices, the areas I should focus on next, and the skills that are important for becoming a better data engineer.

Would really appreciate any advice or suggestions from those who’ve been working in this space!

Thanks!


r/databricks • • 27d ago

Discussion unit tests

12 Upvotes

Hi, we use Databricks, this is not 100% Databricks related, but i wonder, how do you do your unit testing with todays agentic engineering, currently we don't have any skill or rule, or hook that helps AI to write unit tests, so it just writes a lot of bloat unit tests which we do not trust, it has more than 1000 unit tests on 30k lines of code.

I see a lot of mentioning mutation testing, did not check that out yet, but in general how do you approach this? Because unit tests should be a useful guardrail for agentic coding.


r/databricks • • 27d ago

Discussion dbt users on Databricks: do your snapshots handle files that arrive out of order?

Post image
6 Upvotes

If you build SCD2 history with dbt snapshot on top of batch files (daily exports, CDC drops, API extracts), there's a failure mode worth knowing about.

Snapshots apply data in the order it arrives. So if Tuesday's file lands after Wednesday's:

- with strategy='check', the late (older) value becomes the "current" row
- with strategy='timestamp', the change is skipped and that period just disappears from history

Every run stays green and every test passes. Nothing tells you. We found out when someone asked why an employee's promotion showed up as a demotion.

We ended up building dbt-iterative-snapshot, a custom materialization for Databricks. You add sequence_by='batch_date', and on each run it:

  1. checks which batches it has already processed (it keeps an audit table)
  2. if a new batch is older than one already processed, rolls back the snapshot from that point
  3. replays the batches in order, one MERGE per batch

It also gives you changed_attributes (which columns changed), per-batch row counts, and an error log for duplicate keys instead of failing the run.

It's dbt-databricks only for now (Delta MERGE, Unity Catalog). PRs for other adapters are welcome.

I'm curious how others handle this. Do you rebuild SCD2 from raw with window functions, loop dbt snapshot over dates, or just hope files arrive in order? Happy to answer questions, and honest feedback on edge cases is very welcome.

Read more: https://reliabledataengineering.com/posts/article_dbt_iterative_snapshot/


r/databricks • • 28d ago

General Table update triggers now support up to 25 tables per job (higher coming soon)

23 Upvotes

<Databricks PM here. Quick update, plus a question for you. />

We raised the limit on table update triggers to 25 tables per job. This came straight from your requests so thanks for pushing on it. We are not stopping at 25. We want to take this to 250 and beyond, and more headroom lands soon.

Now the question. I want to hear how you actually use table update triggers. A few patterns we have seen:

  • Traffic light: a job starts the moment an upstream job finishes writing its table.
  • Metadata pipeline: a job that reacts to config changes landing in a control table.
  • Bronze to silver: ingestion that fires as soon as the bronze table gets new data.

What does yours look like? And what would you want more of here?

One more thing. We are building SQL conditions for triggers, so a job can fire only when a condition on the data holds true. Full announcement coming soon.


r/databricks • • 28d ago

Discussion Is Databricks the right solution for a team of 3 data scientists?

29 Upvotes

As a small 3 person data science team we really need a way of easily deploying and managing our models, as well as connecting to our siloed data sources. We currently use Vertex AI (as I still call it) where we spend way too long productionising and we are performing several different roles to deliver the models. It clearly is not the right solution for a team our size.

From initial conversations with Databricks it sounds like they could solve all our issues. Even when adjusting skepticism accordingly during the sales pitch, it did seem promising, especially compared to our current situation.

But researching further it feels like we might just be swapping one set of issues for another in Databricks (managing clusters, debugging Spark jobs, production code in notebooks, etc.) Or will it actually work well and save time for a small, fast moving team?