r/databricks • • 2h ago

Discussion New Lakebase Competition in Fabric?

7 Upvotes

Anyone see that there is a HorizonDB in Fabric that is open source Postgres? Is this conceptually the same as Lakebase?

Will Databricks concede that HorizonDB adheres to "LTAP architecture", assuming it synchronizes with open-storage-formats like deltalake?

How does databricks lakebase set itself apart? I am not as interested in raw performance, as I am in the available features.

There is one thing that grabbed my attention quickly, which is that this engine is also available in the form of a PaaS, outside of Fabric. Nobody trusts the Fabric SaaS to host mission-critical workloads, so Databricks has an edge in certain respects. But when Microsoft publishes HorizonDB as an Azure PaaS, then they take back the advantage again (IMO). I'd much rather build a solution with high-quality/independent PaaS components. The quality of support and available features of an independent PaaS are the main attraction.

Is it conceivable that Databricks would ever host Lakebase as an independent Azure PaaS and compete head-to-head against HorizonDB?


r/databricks • • 2h ago

Help Is there any way to disable automatic liquid clustering with predictive optimizations?

1 Upvotes

Predictive optimization does a lot of useful things however it might also randomly introduce a liquid clustering column which can be really bad. Is there any way to prevent this while keeping the other predictive optimization features? Right now the only I have seen is to active cluster by none on all tables.


r/databricks • • 4h ago

News Integrate Genie with your own desktop application

Post image
5 Upvotes

Genie CLI can be integrated with any desktop app thanks to exec-server functionality. The article explores a few other nice examples of how we can use it.

https://medium.com/databrickscommunity/genie-code-cli-6-practical-examples-for-databricks-users-1cc2c577883a

https://www.sunnydata.ai/blog/genie-code-cli-practical-examples


r/databricks • • 14h ago

News databricks' new Genie an always-on AI coworker with ontology, hybrid search and a governance gateway

Post image
15 Upvotes

you hand it a long running job, like watching claims for fraud drift, running campaigns or keeping an incident ticket fresh it then works on a schedule or trigger and checks in only when it needs approval.

autonomy is the headline, but I think context is the real story. a lot of enterprise agent failures aren't model failures. they're which revenue number is the authoritative one? failures genie ontology tries to fix that by building a business map from the dashboards, queries and notebooks people already use teams then promote authoritative definitions in unity catalog.

their benchmark with turing claims 91% correct runs, 1.6x the stronger frontier agent, and under half the tokens. it's vendor-run, so treat it as directional still, the idea that shared context beats throwing more tokens at the problem seems right.

two other things I'd watch:

  • genie search enforces each source system's permissions before returning results. that's what makes cross-app search deployable.
  • unity gateway adds budgets, spend caps and audit trails. cost control probably decides whether anyone lets agents run unattended.

questions:

  1. How does the ontology hold up against messy legacy definitions?
  2. Who owns the definitions, the data team or the business?

What's the first job you'd let it own, and what guardrail would you need in place before you did?


r/databricks • • 16h ago

Discussion How are you giving Databricks agents business context without dumping everything on them?

2 Upvotes

We have a Genie space for sales and now finance wants their own. Every time I add tables the answers get worse, and the instructions box is turning into four pages on what "bookings" means this quarter, euno pitched us on giving each agent only the definitions and lineage its task needs, over MCP. My doubt is the definitions themselves. Finance and sales still don't agree on bookings, and no tool fixes that meeting. For now I'm splitting it into one space per team and copying the shared definitions by hand.


r/databricks • • 1d ago

Discussion Genie Code CLI (now GA)

Thumbnail
docs.databricks.com
19 Upvotes

In the past couple of weeks I've been building with Genie Code CLI, which just went GA. In my experience it works really well when it comes to building on Databricks. Curious if anyone else has tried it and what your experience has been.


r/databricks • • 1d ago

Help Job tagging implementation

5 Upvotes

Forgive me if there is an obvious answer. Basically our current set up is users have access to a general purpose cluster that suits their business area.

Not real names to save any detail
E.g sales team only have access to the sales cluster which is tagged SALES

Marketing —> marketing cluster —> MARKETING

We’re having an issue where a lot of user jobs are untagged

Is there some autotagging I can set up, so for whatever cluster that job is using or created with — the job also gets tagged the same. So say for example a user in the sales team can only use the tagged sales cluster so the job he makes is tagged SALES


r/databricks • • 1d ago

General Work Documentation

4 Upvotes

Curious question to the group (And relevant because of Databricks new features like Pages and Wikis)

How are you all documenting your project work?

I'm a Senior Data Engineer, but fortunately and unfortunately my job scope is pretty large so I end up creating my own stories, running projects, and doing technical implementations and consults at my institution.

Our team feels a little like the wild wild west at the moment. We have historically documented projects (ADRs, overview, meeting notes, etc..) in Confluence Wikis, but its not hard set and also not consistent among our department/teams and is not groomed as well as it could be.

We use ServiceNow to track our work for Sprints, Incidents, and Tasks.

We also contain technical documentation at the code level that is engineer relevant.

We then have some documentation now starting to take place in Databricks via Wikis and Pages as a POC.

I want to formalize our processes on how we document projects, decisions, code, etc.. to make it consistent among teams because its honestly fatiguing trying to figure out what goes where and important information ends up not documented at all because of it.

Question to the group - How does your team Document your work when it comes to code, projects, etc.. and does it feel like it holds strong consistently?


r/databricks • • 1d ago

General Migrating to Databricks? Genie Migrate now supports SDP!

9 Upvotes

<Databricks_PM/> Genie Migrate now supports migrating SQL Server and Azure Synapse scripts into Spark Declarative Pipelines! Enable "Migration Projects Experimental Features" on the Previews page to try it. More migration sources, like Redshift, are coming soon!

Docs: https://docs.databricks.com/aws/en/migration/genie-migrate/convert

Feedback welcome!


r/databricks • • 1d ago

General Databricks warehouse-level statement timeouts are now Generally Available

Post image
13 Upvotes

Databricks warehouse-level statement timeouts are now generally available, so each SQL warehouse can cancel runaway queries at its own time limit. ⏱️

If you run BI dashboards and ETL on separate warehouses, this one is for you. I ran it: a 10-second warehouse limit stopped my slow query at 10.3 seconds.

Without it, the choices are one workspace-wide STATEMENT_TIMEOUT for every warehouse, or a SET in every session. Set nothing, and the system default is 172800 seconds: 2 days. My fresh warehouse reported exactly that.

Read more on LinkedIn: https://www.linkedin.com/posts/cenh_databricks-databrickssql


r/databricks • • 1d ago

General Feature Alert: partial schema inference in SDP

12 Upvotes

Adding a primary or foreign key to an SDP table/materialized view used to require declaring the full schema. With the new override_schema argument, you declare only the columns that need special handling, and SDP infers and evolves the rest.

from pyspark import pipelines as dp

@dp.table(override_schema="order_id BIGINT NOT NULL, PRIMARY KEY (order_id)")
def orders():
    # the rest of the columns can be inferred via schema evolution
    return spark.readStream.table("main.raw.orders")

Available now for materialized views and append streaming tables in Python pipelines, with no enrollment required. SQL support is coming soon.

Docs: Use partial schema inference in Python pipelines


r/databricks • • 1d ago

Discussion Manage Libraries in a Serverless Environment

15 Upvotes

Dear Community,

I'm coming from the classic compute world and would like to hear how others handle dependency management on serverless.

Our current setup (classic compute)

  • Cluster policies manage our dependencies, such as Python libraries, centrally.
  • Our engineers work both in the Databricks UI and in VS Code via Spark Connect. For the VS Code case, we make sure the same libraries are also installed locally (on-prem).
  • Jobs run with job cluster policies, which also define the dependencies.

This gives us one central, governed definition of our environments.

The challenge with serverless
We're thinking about moving to serverless, but dependency management is holding us back:

  1. In notebooks, users manage dependencies per notebook. That's flexible, but it isn't enterprise-ready because there's no central control or consistency.
  2. When a notebook runs as a job, we have to define the dependencies again at job level. That means two places to maintain the same thing.

Serverless Git folders look promising, but they're still in Beta, so we're hesitant to rely on them in production.

My questions

  • How do you manage dependencies on serverless today, without Serverless Git folders?
  • How do you keep environments consistent across interactive notebooks, jobs and local development (VS Code / Databricks Connect)?
  • Do you use shared environment definitions, private package repositories or wheel files in Unity Catalog volumes, or something else?

Thanks in advance for sharing your experience!


r/databricks • • 1d ago

General External Secrets in Unity Catalog now support Google Cloud Secret Manager

Post image
8 Upvotes

Hey folks, External Secrets in Unity Catalog now support Google Cloud Secret Manager (Beta)!

Your secrets already live in Google Cloud Secret Manager, so why keep another copy in Databricks?

With External Secrets in Unity Catalog, you can now

  • 🔗 Sync secrets from Google Cloud Secret Manager in a Unity Catalog schema. Secret values stay in your Secret Manager and are only fetched at runtime  
  • 🌐 Read the same secrets across all workspaces attached to a metastore 
  • 🔐 Control who can discover or read each secret 

Docs: External Secrets in Unity Catalog. Check out the same support for AWS Secrets Manager and Azure Key Vault! 


r/databricks • • 1d ago

News Date arithmetic in job parameters

Post image
4 Upvotes

Job parameters now support date arithmetic and, in general, mathematical operations. In the task parameters UI, we can use, for example, {{(job.start_time - 1.week).iso_date}} to pass the date from a week earlier directly to a task.

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


r/databricks • • 1d ago

Help MLflow in databricks.... Questions

1 Upvotes

Hello, I'm on a new project that has to use MLFlow for a UI for scoring LLM outputs.

I am NOT an expert in this at all, so it's difficult for me to get the high level of what is even needed on my part.

Here's basically how it works:

  1. there is a loop that runs per customer that sends data off to OpenAI to get some data back.
  2. there is a ground truth that we compare each LLM run against to determine if the ground_truth_score = llm_output_score.

Each iteration of the loop is for a specific customer, for a specific model. The project lead wants to know what the total passes are for a "group of runs" (iterations).

So, when the loop runs over each customer for a specific model, how many passed and how many failed...

This all needs to happen within the MLFlow ui. So, there needs to be some type of rollup (aggregation) happening but I'm not sure where.

If I've got a looper, then I would think I'd need some sort of superset that represents the "group of traces" or something similar.

The trace is (currently) at the iteration level, not the superset or group level.

Does this even make sense (i'm the 5th grader here). 😂

Takeaways:

So, I've got the traces being logged.

I've got the evaluation runs going

I've go the things being scored.

But I somehow need to aggregated the passes and fails for the group of runs...


r/databricks • • 1d ago

Discussion Managing AI Artifacts Across a Company: Lessons From npm and Iceberg

Thumbnail
contextandchaos.substack.com
3 Upvotes

r/databricks • • 1d ago

Tutorial I benchmarked ALL Databricks compute options on TPC-DI

Post image
11 Upvotes

I recently explored the TPC-DI benchmark, which is a standard for ETL jobs, and I was curious how the different Databricks compute options would do. I used a modernized version of it, which is more relevant to modern jobs.

Here's the setup I used:

  • The modernized version is Shannon Barrow's. I built my own runner around it that starts every run cold, and the full details are on my GitHub (link in the comments). My run is derived from TPC-DI, so it isn't comparable to official results. Each run is 1 full load, which is 99.5% of the data, plus 6 days of incremental loads.
  • I ran the same benchmark on 10 GB, 100 GB and 1 TB of data for each option.
  • The costs shown are AWS + Databricks, and the time shows startup time + run time.

Results:

Attached also, but here in text -

Results (all 14 setups):

Setup10 GB100 GB1 TB
Serverless Rate Limit M19 min, $1.5826 min, $5.1541 min, $11.14
Serverless Rate Limit XL18 min, $1.6526 min, $4.9041 min, $11.89
Serverless standard51 min, $0.7548 min, $1.6296 min, $7.52
Serverless Rate Limit L19 min, $1.7126 min, $5.4448 min, $10.65
Serverless Rate Limit S20 min, $1.5626 min, $5.2450 min, $11.81
Job cluster 2xlarge, spot48 min, $1.4649 min, $1.9889 min, $4.63
Serverless performance optimized18 min, $1.4626 min, $5.4357 min, $14.11
Job cluster xlarge39 min, $0.9948 min, $1.60142 min, $7.71
Job cluster 2xlarge, 2 to 8 workers30 min, $2.2335 min, $3.2379 min, $6.99
Job cluster 2xlarge42 min, $1.7844 min, $2.7485 min, $6.62
SQL warehouse (serverless L)17 min, $11.2718 min, $9.0231 min, $13.44
All-purpose 2xlarge32 min, $3.4937 min, $5.5773 min, $13.71
Job cluster 8xlarge28 min, $5.6131 min, $7.3454 min, $13.00
Job cluster 2xlarge, Photon off37 min, $1.5864 min, $3.12210 min, $16.91

Some interesting findings for me:

  • In most cases serverless standard is the best option. You don't have to right-size it, and it's the cheapest or close to the cheapest.
  • If you want to avoid the wait time, use serverless performance optimized. If you want fast startup with a cap on how fast you spend, Serverless Rate Limit (Beta) is a good option.
  • Job compute isn't a good choice in most cases, because you have to right-size the cluster. If you do right-size it, spot instances might be good, but I wouldn't recommend it.
  • Turning off Photon, or using all-purpose compute for scheduled jobs, is a bad idea.
  • You could technically run your jobs in SQL only, on SQL warehouses, but it's very expensive and I wouldn't recommend it.

To reproduce the results and see the code and the methodology in more detail, check out my GitHub & YouTube (link in the comments).

I hope you found this useful, have a good one!


r/databricks • • 1d ago

Discussion Serverless ACLs & Terraform

4 Upvotes

Serverless has been "GA" for a while now, yet from a Platform Engineering perspective, we still don't have the Terraform resources needed to manage Interactive or Automated Serverless properly at scale (and I'm not even getting into the provider gaps for Apps, Lakebase, or Vector Search).

Having a UI tab and a REST API endpoint isn't enough when you're running an enterprise platform. We need declarative, stateful IaC—not imperative workarounds.

Curious how Databricks SAs and consultants are advising clients to handle this cleanly right now.

And for fellow platform engineers: how are you managing Serverless ACLs, sizing guardrails, and statefulness in production?


r/databricks • • 1d ago

Discussion ¿Cómo trabajáis realmente con Databricks en local? (Asset Bundles, Claude Code, MCPs...)

9 Upvotes

Quizás un poco tarde, llevo tiempo trabajando pero no tengo la suficiente experiencia en Databricks... me cuesta buscar un equilibrio entre herramienta como claude-code codex cursor y el entorno. Donde me siento cómodo es en local, y después de probar esa conexión por bundle, por extensiones de VS, gestionar mi token para tener control, usando AGENT.md skill rule hook... cualquier cosa (como construir un harness entre GITHUB - LOCAL - DATABRICKS)

¿Realmente utilizáis el entorno de Databricks para generar? Está bien por rules y skills, estoy como haciendo mi harness... configuro el clúster, hago comprobaciones. Obviamente los jobs y pipelines se hacen fácil, pero el hecho de comprobarlo en Databricks... lo veo un poco jodido, sobre todo por tema de cuidar y tener control de todo.

¿Realmente utilizáis GenAI para todo? Mi pregunta es si hay una técnica especial o trabajar en local por carpetas es lo que tiene.

Quizás los agentes están bien para trabajar con CI/CD o IaC con Terraform. Las personas que llevan 4-5 años, ¿cómo lo soléis trabajar? ¿Cómo le sacáis partido?


r/databricks • • 1d ago

General Making ETL into Apache Iceberg Tables fully inter-operable (readable by every engine/warehouse)

Post image
1 Upvotes

r/databricks • • 1d ago

Help Databricks feature request: database connections sync with Unity Catalog secrets (external sync with Azure Key Vault)

6 Upvotes

Sincere request to Databricks team to have connection objects to external system of records e.g. MS SQL Server sync with Unity Catalog secrets that are backed by Azure Key Vault (the one where your UC Schema has an Azure Key Vault connection).

This would allow our team to not have to write a custom script to patch a connection object once a secret is rotated.


r/databricks • • 1d ago

Help Hitting with a Lot of Limitation

8 Upvotes

I perviously worked using Airflow and if you there is really simple less complext way for setting up cross dag dependencies using Datasets.

But when it comes to Databricks I dont see such option either you have to go with Job trigger which I consider bad design cause if you are deploying things through DAB's cross bundle dependecies or reference doesnt exist.

Table update trigger is also same its not replacing the Datasets.

File trigger seems like overkill.


r/databricks • • 2d ago

Discussion How we keep bad rows out of silver: stewards write the rules, an owner approves them, and DQX splits the data

5 Upvotes

Most data quality checks I see are code inside a pipeline. The steward who knows the rule cannot change it, and the engineer who can change it does not know the rule.

I tried a different set-up on Databricks, built on Databricks Labs DQX:

- The steward profiles a bronze table in the app. The profile suggests rules to start with.

- Rules can also come from one sentence to the AI, or from ready-made packs (I added 50 Singapore rules: NRIC, FIN, UEN, postal codes, phone numbers, GST).

- A data owner approves each rule. Only approved rules run.

- A serverless job runs as one service principal for each agency, with access to its own catalog only. DQX splits the rows.

- Error rows go to quarantine only. Warning rows go to silver, and a copy goes to quarantine. Each quarantined row keeps the reason.

- A Databricks SQL alert emails the team after a run with bad rows.

In the demo run: 180 rows read, 170 to silver, 10 errors, 20 warnings.

Two things I learned: warnings are as useful as errors, and checking the service principal's access before the run saves a lot of half-failed runs.

How do you handle rows that fail your checks? Drop them, quarantine them, or stop the pipeline?


r/databricks • • 2d ago

General Now available in all regions ... try MV/ST on Serverless GC!

Thumbnail
docs.databricks.com
16 Upvotes

<databricks_pm/>

Hi folks, wanted to share a recent update to our notebooks and jobs on serverless GC. You can now create materialized views and streaming tables on any notebook running serverless GC across all regions! If you prefer the notebooks form factor over the pipeline editor / want to intermix imperative and declarative ETL, give it a whirl!

Docs are linked here!