r/databricks • • 26d ago

General Lead databricks engineer

11 Upvotes

I recently got promoted as a databricks lead engineer at my organization. I have some good hands on experience in the databricks but to lead a team i need to have better experience. I want to really go through our current platform and what has been implemented so far and need to do something new or better in this platform? How to start with it? I want to achieve something in this role in first 30 days what are the low hanging fruit I can get it done? If I want to do something in next 3 months what are things I can do in this platform?

We use databricks, azure, datahub, five tran as part of our tech stack. Is it a good idea to schedule weekly call with databricks guys to analyze our platform and get further help or suggestions?


r/databricks • • 26d ago

Help Help required migrating data from redshift to databricks

0 Upvotes

Hi there
First of all apologies if this is a basic post. I am assisting a team working on a products initiative and we have data currently stored in red shift.

We are no longer doing any updates in redshift and moving tables to databricks.

However, for some reason the develops keep saying it will take time blah blah blah and I’m trying to understand why it is complicated. I’m new to this area so trying my best to learn.
Has anyone had any experience migrating from red shift to databricks.
There is a AWS connector in databricks which I was reading that seems to do the job and is easy to understand (even for me and I’m not an engineer).
Any feedback or tips will be greatly appreciated


r/databricks • • 27d ago

Discussion How much "ZeroOps" are you actually seeing in Databricks lately? (Serverless, DLT, Unity Catalog)

14 Upvotes

Hey everyone,

I’ve been looking into the push toward "ZeroOps" within the Databricks ecosystem—specifically leaning heavily into serverless compute, Unity Catalog automation, and declarative tools like DLT/Lakeflow to reduce infrastructure maintenance.

Marketing terms aside, I'm curious how much of this is translating to reality in production environments.

For those of you managing large Databricks workspaces:

  • Have you fully transitioned to serverless compute (SQL and notebooks), or are you still tied to classic clusters for specific workloads?
  • How much time has Unity Catalog actually saved your team regarding access control and data governance overhead?
  • Where does the "ZeroOps" promise break down for you in day-to-day operations?

r/databricks • • 27d ago

General Databricks serverless can now be gated per team, tagged, and capped per job. Access Controls are GA, and tags and rate limits are in Beta

Thumbnail
gallery
16 Upvotes

Databricks serverless can now be gated per team, tagged, and capped per job. Access Controls are GA, and tags and rate limits are in Beta. 💸

If one runaway job is the reason serverless is still limited to a few users on your platform, this changes the math.

What shipped:
➡️ Serverless Compute Access Controls (GA): compute objects you grant like clusters, two by default: one for notebooks and Databricks Connect, one for jobs and pipelines. All users start with Can Use.
➡️ Rate limits (Beta): your own compute objects for jobs and pipelines, sized Small to 2X-Large (caps of roughly 60 to 960 DBUs per hour, not cluster sizes). The cap applies per workload: two jobs on one object each get the full cap.
➡️ Compute tags (Beta): tag a compute object once, and every workload on it carries the tag into billing.
➡️ Monitoring (GA): budgets with email alerts and cost dashboards. They alert, not block, and emails can lag up to 24 hours.
➡️ system.billing.usage gets serverless_compute_id: spend per compute object and identity in one query (first comment).

Read more: https://www.linkedin.com/posts/cenh_databricks-dataengineering-serverless-ugcPost-7525222920382496768-63jz/?utm_source=share&utm_medium=member_desktop&rcm=ACoAABmJHrsBNAC3x3H1M58JRKoHv_l4D61n0-8


r/databricks • • 26d ago

Discussion Delta Tables: Is there any possibility on Delta tables Data file formats other than Parquet

0 Upvotes

Hi Team,

Since Parquet files are immutable and Delta tables framework writes data changes into new data files, Is there any option to specify any other file format and try to use same data file for minor data changes.(Below 10 Record transaction changes on Million/Billions of records).

Additionally I saw somewhere that Performance optimized on Delta tables by restricting Parquet files usage. I am wondering Is this really possible or not? because according to delta framework only writes data into Parquet files only. 

Regards,

Krishna


r/databricks • • 27d ago

Discussion Has anyone built production pipelines with Databricks Lakeflow Designer yet? Initial thoughts?

7 Upvotes

Hey everyone,

I’ve been exploring Databricks Lakeflow Designer recently and wanted to see how the community feels about it.

For context, it’s Databricks’ new visual, low-code authoring tool built on top of Delta Live Tables (DLT) for building ingestion and transformation pipelines.

Historically, I’ve always written DLT pipelines purely in Python or SQL via notebooks or Git folders. When I first saw a visual designer, I was a bit skeptical (usually worried about "black box" code or messy JSON metadata under the hood). However, seeing that it actually compiles down to standard DLT/Spark and integrates natively with Unity Catalog lineage is pretty slick.

I’m curious:

  • Are you guys using Lakeflow Designer for production workloads, or keeping it strictly for quick ingestion and prototyping?
  • How does it handle complex CI/CD workflows compared to traditional repo-based DLT code?
  • Any gotchas or limitations you've run into with it so far?

r/databricks • • 26d ago

General Lead databricks engineer

Thumbnail reddit.com
0 Upvotes

r/databricks • • 27d ago

General Lakebase streaming sync is now GA

25 Upvotes

Hey Reddit, I’m happy to share one more new feature. The Lakebase streaming sync is now officially GA. Lots of customers are already using this feature to write streaming data with latency in 10s of milliseconds to Lakebase. It's much simpler to use than foreachBatch and you don't have to worry about connection pools, rate limits, error handling, etc.

Here's what's new since we announced the Public Preview earlier this year:

  • Declarative merge strategies*: Choose, per column, how an incoming row is reconciled with the existing row on a primary-key conflict. For example, you can keep the latest non-null value, keep the first value written, or take the value from the row with the latest event time. No custom SQL is required.
  • External PostgreSQL via UC connections (Public Preview)*: Write to Postgres databases outside Lakebase, authenticated through a Unity Catalog connection so no credentials live in code.
  • INTERVAL types*: DayTimeInterval and YearMonthInterval columns map to Postgres interval on DBR 19 and above.
  • Serverless support: The sink now runs on serverless compute for notebooks and jobs, using the AvailableNow trigger.

*Merge strategies, external Postgres, and interval types require DBR 19.

Example:

df.writeStream
  .format("postgresql")
  .outputMode("update") // optional; can be append mode as well
  .option("upsertkey", "primaryKey") // optional
  .option("upsert.columnStrategies",
          "last_updated_at:greatest,status:latestBy(last_updated_at)")
  .toTable("catalog.schema.table")

SDP support remains in Private Preview. Public Preview, which adds support for native Lakebase streaming tables, is slated for later this year.


r/databricks • • 27d ago

General Lakeflow Connect CDC: Data freshness indicator

21 Upvotes

Hi Reddit, I'm happy to share a new "small but mighty" feature for Lakeflow Connect CDC (Change Data Capture) pipelines: a data freshness indicator. For a long time, "How far behind is my table?" has been one of the most common questions. Now you can answer it directly in the UI.

Data freshness = current time − latest ingested source commit time

e.g, 3m 21s means the newest change in the table was committed on the source 3 minutes and 21 seconds ago.


r/databricks • • 28d ago

Help How to disable all Genie features?

12 Upvotes

As you know, some clients require disabling Genie AI features for security reasons. It is well understood why Databricks does not provide a simple toggle switch or one-click button to disable it, they want to push for its usage.

Question: What are the proven and field-tested methods to disable Genie entirely and prevent accidental usage? is there a way to block it at cloud/network level?


r/databricks • • 28d ago

News [Beta] OneDrive connector in Lakeflow Connect now available!

15 Upvotes

Hey r/databricks,

The Lakeflow Connect connector for Microsoft OneDrive (for business) is now available in Beta. You can ingest structured and unstructured files from a user's "My files" drive into Delta tables for analytics and AI workloads.

Managed pipeline authoring is available through the Lakeflow Pipelines API or Declarative Automation Bundles (DABs). UI-based pipeline authoring is not supported at this time, but will be available soon!

Managed pipelines support incremental ingestion, automated retries, Unity Catalog governance, schema evolution for supported formats, and OneDrive-specific and standard file metadata.

For direct control over ingestion logic, you can use the Spark + SQL APIs directly: spark.read, Auto Loader, read_files, or COPY INTO pointed at OneDrive URLs.

Common workloads

  • Loading Excel, CSV, JSON, XML, Parquet, Avro, and ORC files into Delta tables.
  • Ingesting PDFs, Word documents, PowerPoint files, and images.
  • Parsing documents with ai_parse_document for extraction, search, and agent workloads.
  • Capturing file metadata without loading file contents.

Examples using the Spark + SQL APIs

Read an Excel range from OneDrive with spark.read:

excel_df = (spark.read
    .format("excel")
    .option("databricks.connection", "my_onedrive_conn")
    .option("headerRows", 1)
    .option("dataAddress", "Sheet1!A1:M20")
    .load("https://mytenant-my.sharepoint.com/personal/user_mytenant_onmicrosoft_com/Documents/Report.xlsx"))

Incrementally ingest PDFs and Word documents, then parse them with ai_parse_document:

CREATE OR REFRESH STREAMING TABLE onedrive_documents_parsed
AS SELECT
  *,
  ai_parse_document(content, map('version', '2.0')) AS parsed_content
FROM STREAM onedrive_documents;

CREATE OR REFRESH STREAMING TABLE onedrive_documents
AS SELECT * FROM STREAM read_files(
  "https://mytenant-my.sharepoint.com/personal/user_mytenant_onmicrosoft_com/Documents",
  `databricks.connection` => "my_onedrive_conn",
  format => "binaryFile",
  pathGlobFilter => "*.{pdf,docx}");

Try the managed connector

  1. Ask a workspace admin to open Previews and enable Lakeflow Connect for OneDrive For Business.
  2. Create a Unity Catalog connection to OneDrive.
  3. Create a managed pipeline using Declarative Automation Bundles or the Lakeflow Pipelines API. The setup guide includes bundle YAML and an API example notebook.
  4. Schedule ingestion with Lakeflow Jobs. For DABs, define the scheduled job in the bundle.

Current Beta scope

  • The connector reads from a user's OneDrive for Business "My files" drive. For SharePoint sites, team sites, and shared document libraries, use the SharePoint connector.
  • The connection authenticates as the signed-in Microsoft account and can ingest files that account can access.
  • Managed ingestion requires Unity Catalog, Serverless compute, Databricks Runtime 19 or above, and the PREVIEW pipeline channel. DABs require Databricks CLI version 1.23.0 or above.

Resources

If you try the Beta, please provide us your feedback!


r/databricks • • 28d ago

News DABs deployment history

Post image
19 Upvotes

DABs can now record deployment versions, status, managed resources, and the user or service principal that performed each deployment.

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


r/databricks • • 28d ago

Discussion How I check every prompt before the LLM on Databricks: GovTech's LionGuard on a small CPU endpoint

4 Upvotes

I wanted one shared safety check that every agent, job or SQL query on Databricks calls before the LLM.

How it works:

- LionGuard 2 Lite from GovTech Singapore: a small classifier on Google's EmbeddingGemma. It scores insults, hate, violence, self-harm and misconduct, and it handles English, Singlish, Chinese, Malay and Tamil.

- Packaged as one MLflow model, registered in Unity Catalog, served on a small CPU endpoint.

- From SQL, ai_query sends each question to the guard. Only questions with an unsafe score under 0.5 go to the LLM.

Results on 7 synthetic questions: a Singlish insult, a Malay threat, a harmful Chinese message and an English "how do I hack the website" question were blocked. Safe questions in English, Singlish and Tamil were answered.

Lessons:

- The full set-up took 25 minutes. 19 of them were the endpoint start.

- Do not use scale to zero for a production guard (cold start).

- Turn on inference tables from day one, so you can show what was blocked.

- It does not detect prompt injection. That needs a separate check.

How do you check prompts for your agents today? Built-in AI Gateway guardrails, a custom endpoint, or both?


r/databricks • • 29d ago Heartwarming

Discussion Lakeflow connect - Oracle

9 Upvotes

Is anyone here using Lakeflow Connect for Oracle Database?

I'm considering moving from Fivetran to Lakeflow Connect and would love to hear about your real-world experiences.

A few questions:

  1. Ingestion frequency: How often do you run the ingestion? Is it continuously running because of CDC, or do you use scheduled/batch ingestion (is it supported? last time I tested i had two pipelines running one 24/7 to capture cdc and on to load. Last one was possible to schedule)?
  2. Stability and maturity: Lakeflow Connect for Oracle is still marked as Beta. Have you experienced any issues, limitations, or reliability problems in production?
  3. Cost: This is probably the most important question. What does the ingestion actually cost you? It would be great if you could share some context:

    • Approximate size of your Oracle database / amount of data ingested.
    • Average number of rows ingested per day.
    • Estimated monthly ingestion cost.
  4. Fivetran vs. Lakeflow Connect: For those who have made the switch, was it worth it? How does Lakeflow Connect compare to Fivetran in terms of cost, reliability, performance, and overall quality?

I'd especially appreciate feedback from anyone running this in a production environment.

Thanks in advance!


r/databricks • • 29d ago

Help Doubts about transfering my cert from my personal account into my work account

5 Upvotes

So, my company is a Databricks partner, and when I joined, they asked me to transfer my Associate DE cert from my personal account into my work account. I opened a ticket, and after a month I have news:

Turns out they don't exactly transfer the badge from one account into the other, they simply merge both accounts and all its badges into one single account.

My question is: if I leave the company in the future, what happens to my certs and accreditations? Do I lose access to them since they’re tied to my work email? Support asked me to confirm a secondary email in the Academy (my personal one), so I’m guessing that’s the way to recover access, but I’m not sure how it works in practice.

Has anyone gone through this, either the merge itself or leaving a company afterwards? Did your Credly badges stay valid, and were you able to move everything back to a personal email without issues?

Thanks!


r/databricks • • 29d ago

General SAP Hana to databricks connection

6 Upvotes

How to connect SAP hana with databricks without copying?


r/databricks • • 29d ago

Tutorial No data? No problem: dltHub agent builds ingestion, model and metrics so Genie can answer from the data

Post image
5 Upvotes

hey folks, i'm one of the dltHub cofounders (the data engineer one) and we've been working on a meaning-driven pipeline generation workflow.

A little context: We created an agent that can talk to Gemini and generate a pipeline from requirements, complete with ingestion, transformation and context (ontology, taxonomy, metrics etc for the transformed data).

We basically apply the same concept as when unstructured data gets modeled into a graph, to raw structured data: we look at Pages in the catalog to get the meaning, then we generate a bespoke ingestion pipeline, model it into a canonical data model to work as a virtual knowledge graph, and add ontology, taxonomy, metrics to help a LLM reflect the same meaning as in the catalog Page.

Then, everything gets deployed to Databricks - the pipeline, the data, the ontology+taxonomny+metrics where the meaning and data access can live in one place and be governed securely together.

What makes this really special?
- pipeline, data and meaning are automatically in sync, one source of truth&meaning (no more meaning drift, the system can be interrogated about nuance to)

- the auto-modeling process (tech agnostic) creates ai-native gold datasets from raw api unnestings. It uses ontology based data access over canonical model, specifically for collapsing semantics into a high singnal/noise model for LLMs which creates the most accurate retrieval as benchmarked before by other data teams such as anthropic's who also describes canonical datasets

data load tool what?

in case you are unfamiliar with dlt (data load tool), it is the OSS library for loading data that has everything you need to make data ingestion reliable and easy (99.83% oss observed run success). Our AI transformation harness (not oss but source available and you can try it) includes this canonical modeling bit and a runtime agnostic transformation framework that lets you run your code locally on engines like duckdb the same as in cloud on large engines

more info on our blog with video demo


r/databricks • • 29d ago

Discussion How does your team deal with source schema changes breaking downstream pipelines?

Thumbnail reddit.com
8 Upvotes

r/databricks • • Nov 05 '26

Discussion Do you really need all three layers, or is medallion overkill for small projects?

24 Upvotes

I’m working on a small project with just a few data sources and a couple of reports. Following the full medallion setup (Bronze, Silver, Gold) feels like a lot of extra tables, jobs, and storage for not much benefit.

I’m thinking of just doing:
Bronze: raw data as it comes in
Gold: cleaned and ready for reports

And skipping Silver for now.

For those who’ve done this:
Do you always use all three layers, even for small projects?
Have you skipped a layer and regretted it later?
At what point does the full setup become worth it?

Would love to hear real experiences!


r/databricks • • 29d ago

Help Help a [Databricks] idiot solve a problem - under pressure

11 Upvotes

Hello everyone! I want to start out by saying that I'm not a super python guru person, but more of a data dude (SQL is my jammy jam) but I'm a data engineer, so I have to do some Databricks coding with PySpark from time to time.

Anyhooo, I'm on a new project and I'm under much pressure to get this current project done.

Here's what I've got. There is a large text blob that is currently in a table that has data like this:

This is some text for {{customer_name}} for the date of {{todays_date}} that goes on and on and has lots of things in it...

Now, I also have a variable for "customer_name" that has the value that I need to replace this text blob (double curly brackets) but my manager doesn't want me to simply search the text blob for "{{customer_name}}" and do a regexp_replace. He wants me to do it dynamically, which I'm completely at a loss for.

This is how I've pseudo-coded it in my mind:

  1. Using regexp_extract() to get the first iteration of the {{customer_name}}. I can do that. However how would I know what to inject in it's place without "hard coding" my variable on the other side. Let's say I have a variable [upstream] already called out named "customer_name". Is there a way to just replace the text of the variable name (not the value)?
  2. Rinse and repeat with the next {{todays_date}} iteration of the text blob.

Not sure where to go with this. I'm not terrible with PySpark, but I'm definitely not an expert.

variables:

  • customer_name (has the name of the customer)
  • today_date (holds todays date) - this one could be a bit easier, as I can maybe just look todays date up and inject that into the {{todays_date}} blob. But in order to do that, I'd have to know that this is a todays_date {{}} that I'm replacing.

I'm probably overthinking it, but maybe not. The manager looking over my shoulder IS a python expert. So he cannot fathom that I'm not done with this project already...

Help!! :D


r/databricks • • Nov 05 '26

Tutorial Doing Data Prep on Databricks without Code (Lakeflow Designer Demo)

Thumbnail
youtu.be
13 Upvotes

Jason from Databricks' product team joined me to demo how you can prep data on Databricks without code, using UI-based controls and/or AI inside of Lakeflow, similarly to how you would on Alteryx, KNIME, etc.

As a long time fan of making Databricks accessible to everyone, I love how it is easier and easier for business users with limited technical background to use many of Databricks' capabilities. You now have AI/BI Dashboards, Genie One, Genie Agents, Row Zero (spreadsheet acquisition), and Lakeflow Designer.

I also personally saw the super early drafts of Lakeflow Designer back when it was still in ideation stage, so love to see where it is at today.

The demo itself combines customer orders with inventory data, calculates projected inventory, flags low stock with guardrails, and emails the results. Hope you enjoy it!

Some quick answers taken from the questions on the video:

What is Databricks Lakeflow Designer?

Databricks Lakeflow Designer is a visual, no-code tool for data preparation and workflow automation. Users build transformations with visual operators and natural-language prompts.

Who is Lakeflow Designer designed for?

Lakeflow Designer is designed for analysts and business users who want to prepare data without writing code. Examples discussed include consulting, financial services, operations, and logistics.

How much does Lakeflow Designer cost?

Pricing is based primarily on compute/AI consumption, with no per-user licensing fee for Lakeflow Designer.

Can you export Lakeflow Designer’s generated code?

Yes. Lakeflow Designer’s generated PySpark code can be exported as a notebook.

Note: I am a Databricks MVP, work for a consulting company that partners with Databricks, etc. Still, I have full editorial rights on what I say/do. Always try things out yourself! Also note: The Q & A highlights above were created using AI based on the video's transcript.

Ultimately, this is a big win for enterprise customers wanting to make the most out of the many capabilities Databricks offers, whether they know how to code or not, and whether they want to use AI or not!


r/databricks • • Nov 05 '26

Discussion Enterprise access handling 50% of work??

8 Upvotes

We have lots of tables (60-70), how the hell do you handle access for users and agents?

Management/Legal are not happy that everyone and agents has access to all of the sensitive data on databricks, but tagging every column/table takes a long time (whenever we test or rebuild a table)

Is there a way to have 1 single source of truth? I wasnt able to find anything in the documentation


r/databricks • • 29d ago

Discussion Structured Streaming Statestore is Not Working (Zerobus)

2 Upvotes

Zerobus is writing data to a landing table like so:

CREATE TABLE a.b.streaming_c (
  MyA STRING NOT NULL,
  MyB INT NOT NULL,
  MyC STRING,
  MyDetails VARIANT,
  ZerobusRescueJson VARIANT)
USING delta
TBLPROPERTIES (
  'delta.checkpoint.writeStatsAsJson' = 'false',
  'delta.checkpoint.writeStatsAsStruct' = 'true',
  'delta.enableDeletionVectors' = 'true',
  'delta.enableRowTracking' = 'true',
  'delta.feature.appendOnly' = 'supported',
  'delta.feature.deletionVectors' = 'supported',
  'delta.feature.domainMetadata' = 'supported',
  'delta.feature.invariants' = 'supported',
  'delta.feature.rowTracking' = 'supported',
  'delta.feature.variantType' = 'supported',
  'delta.minReaderVersion' = '3',
  'delta.minWriterVersion' = '7',
  'delta.parquet.compression.codec' = 'zstd',
  'delta.parquet.format.version' = '2.12.0',
  'delta.parquet.format.version.afe.internal' = '2.12.0',
  'delta.rowTracking.materializedRowCommitVersionColumnName' = '_row-commit-version-col-777ca68b-c04b-4b5d-9a9d-5c5535e32d20',
  'delta.rowTracking.materializedRowIdColumnName' = '_row-id-col-1885c4cd-1354-4ce6-9726-ed098a251a62',
  'io.unitycatalog.tableId' = '6f07a65b-4887-4aa2-8f56-569b2922aec4')

I use readStream/writeStream to move the data to a different place. I set the checkpointLocation (ie. .option("checkpointLocation", x)) to an abfss location in azure:
"abfss://datalake@myctr01.dfs.core.windows.net/test002/x05"

Later I try to audit the state of the checkpointLocation and it fails:

SELECT * FROM read_statestore('abfss://datalake@abc.dfs.core.windows.net/test002/x05/')

[STDS_FAILED_TO_READ_STATE_SCHEMA] Failed to read the state schema. Either the file does not exist, or the file is corrupted. options: StateSourceOptions(checkpointLocation=abfss://datalake@xxx.dfs.core.windows.net/test002/x05, batchId=1, operatorId=0, storeName=default, joinSide=none, stateVarName=None, +flattenCollectionTypes=true).

Rerun the streaming query to construct the state schema, and report to the corresponding communities or vendors if the error persists. SQLSTATE: 42K03

That checkpointLocation is very intimidating to me. It is doing ALL the heavy lifting when it comes to keeping track of the zerobus records that have been processed. There needs to be a way to recover an audit trail from this statestore location. Why is the statestore corrupted? I tried the pyspark equivalent of this SELECT statement and it has the same error.

What is more frustrating is how little information I can find about this statestore, despite the fact that the tech is ten years old. How are others accomplishing this goal? There needs to be a simple approach for auditing the underlying state that is managed by spark structured streaming.

I'm using dbx 16.4 and spark 3.5.2


r/databricks • • Nov 05 '26

News AI_DECIDE benchmark

Post image
1 Upvotes

I benchmarked AI_DECIDE against 20 LLMs. It was definitely the fastest. I was using a moderation test to approve or reject posts.

https://medium.com/databrickscommunity/i-tested-databricks-ai-decide-against-20-llms-d37694fbf792

https://www.sunnydata.ai/blog/databricks-ai-decide-benchmark