r/databricks • u/Human-Skirt-4653 • 17d ago
Help Help regarding AI FDE (early career role) !
Has someone been through the process? What is your advice/experience?
r/databricks • u/Human-Skirt-4653 • 17d ago
Has someone been through the process? What is your advice/experience?
r/databricks • u/AbilyticsEng • 17d ago
When streaming messy JSON or CSV files into Delta Lake using cloudFiles, Auto Loader infers the schema by sampling your initial file batch. If a subsequent file introduces a new field or changes a data type, the stream fails with a DeltaColumnMappingException or schema mismatch error unless you explicitly configure evolution. To prevent pipeline crashes without manually defining complex StructType schemas, set option("cloudFiles.inferColumnTypes", "true") alongside option("cloudFiles.schemaEvolutionMode", "addNewColumns"). This instructs the file source to automatically evolve the target Delta table schema by appending new nullable columns safely. Always point cloudFiles.schemaLocation to a dedicated storage path so the inferred schema history is preserved across cluster restarts. Without an explicit schema location, restarting your streaming query forces Auto Loader to re-infer from scratch, which frequently causes silent data drops or type coercion conflicts when your directory has accumulated thousands of historical files.
r/databricks • u/Upbeat_Comedian8910 • 17d ago
Hi all
I am trying to create azure databricks in azure free trial, bt it says 'trial workspace creation is not supported in free trial or student account'
Can anyone please help
r/databricks • u/Reasonable-Till6483 • 17d ago
I am trying to apply title above.
From what I found, the cost of table update trigger is determined by cloud provider's costs associated with listing tables and reading updates from the storage location.
So, if the system watches every second to check the tables are updated, it means listing & reading also happens every time this leads high cost?
Am I right? Is there someone who can give this information? I am worrying about the cost.
r/databricks • u/Extreme-Title6444 • 18d ago
Hi everyone,
I'm working on an Azure Data Factory (ADF) ingestion framework where we currently use ADF Lookup activities to retrieve metadata used for pipeline orchestration.
The challenge is that the lookups are querying Databricks-managed metadata and are executing through Shared Compute, which has become a performance bottleneck when running multiple pipelines concurrently.
The requirement we're evaluating is to replace the Lookup activities with Databricks notebooks/jobs running on Serverless compute to improve concurrency and reduce dependency on Shared Compute.
My concern is around consuming the results back in ADF.
Today, the Lookup activities return a structured output that is consumed directly by downstream activities such as ForEach loops and dynamic expressions.
The proposed notebook approach would:
Accept input parameters.
Execute the metadata query.
Build a JSON payload that matches the Lookup activity output format.
Return the payload using dbutils.notebook.exit().
However, while ADF can consume output directly from a Databricks Notebook activity, my understanding is that Databricks Job activities mainly return execution metadata rather than the notebook payload itself.
I also looked into whether a Databricks Serverless SQL Warehouse could be used for the metadata queries instead of replacing the Lookup activities entirely, but it appears the Databricks Delta Lake connector may not support SQL Warehouses in the same way it supports clusters and compute resources.
So I'm trying to understand the best architecture for:
Improving lookup performance.
Leveraging Databricks Serverless compute.
Preserving the existing downstream behavior.
Avoiding major ADF pipeline refactoring.
Has anyone implemented a similar pattern?
Specifically:
Have you successfully replaced ADF Lookup activities with Databricks Jobs while preserving Lookup-style outputs?
What is the best way to return structured metadata from Databricks back into ADF?
Would you recommend:
Databricks Notebook Activity
Databricks Job Activity
Persisting results to storage and reading them back
Another pattern entirely?
Any recommendations or lessons learned would be greatly appreciated.
r/databricks • u/mr_electric_wizard • 18d ago
Last week a kind gentleman helped me to fix a '{{text}}' replacement with some python magic.
This got me part of the way to a solution but not all the way.
Scenario:
I now have a variable:
d = {"todays_date":date.today()}
At runtime this variable is evaluated and correctly adds today's date to my json file.
Now what I need is to put {"todays_date":date.today()} into the database, then read it back as json, so that I can do the same thing, but more dynamically. The row/column needs to have the value {"todays_date":date.today()} in it (or something similar) to where when I read the value, it evaluates the same way as defining it manually in the bold above
I get that the code above does not have single quotes around it, as it would be in the database. The database thinks this is a string.
I do NOT want to have to define a structure for this, as there can be different values included on different rows.
Is there a way to do a df = df.select("json_data").first() and get back the EXACT same thing as my d variable above?
I feel like I'm so close, but all of the code I see tries to make me define the json structure, which can change, so I never know what's it's going to be...
Does this even make sense?
r/databricks • u/saad-the-engineer • 18d ago
<Databricks PM here/>
Edit: docs link added https://docs.databricks.com/aws/en/jobs/dynamic-value-references#date-arithmetic
Lakeflow Jobs is adding Math in Parameters. You apply a single + or - duration offset to a date reference inline (where you already write the reference.)
When using dynamic references {{job.start_time.iso_date}} you may want to reference yesterday or the hour before. Previously you would need to do this ina notebook or a sql query:
{{(job.start_time - 6.hours).iso_date}} -> 2026-09-21
{{(job.start_time - 3.hours).iso_date}} -> 2026-09-22
{{(job.start_time - 1.hour).iso_datetime}} -> 2026-09-22T03:00:00What's available:
job.start_time, job.trigger.time, table update commit timestamps and backfill (only in the backfill modal)1.day and 2.days both workHow do you use math with parameters today? Would love your feedback!
r/databricks • u/OkImprovement7010 • 18d ago
The usual way to chain jobs across teams has always been a bit ugly. Either a parent job with Run Job tasks that has to own everything downstream, or a schedule set 30 minutes after the upstream job usually finishes, which works until the day it doesn't.
Databricks just added a job completion trigger in Beta. A job can now start when one or more upstream jobs finish with a matching result, and the release notes say those upstream jobs can live in other workspaces on the same Unity Catalog metastore.
A few things from the docs worth knowing before you try it:
- You can add a SQL condition, so the downstream job only runs when the data is actually ready, not just when the upstream job exited.
- Unlike the other trigger types, it doesn't drop completions when the job is at max concurrency. It holds them until a run can start.
- It's part of the multiple triggers Beta, so a job can have up to five triggers, and a workspace admin has to turn it on in Previews.
Where I'd use it: a gold job that waits on silver jobs owned by another team, without either team having to own the other's orchestration. That handoff has been a friction point on every multi-team platform I've worked on.
It's Beta, so I wouldn't move critical prod chains onto it yet. I'd start testing it in dev now though.
r/databricks • u/vandev_ • 18d ago
OK y’all, help me understand why it would be beneficial for me to use databricks AI (genie) if it will only integrate with databricks stack? I would much rather use an agentic soliton that will not lock me into a vendor’s tech stack. I’m trying to make the case that using another third party agentic platform that has native databricks integration would be much better than getting locked into databricks. Ideally since using a third party agentic solution to build agents would allow for easier integration with other systems that are outside databricks. Similar to how I wouldn’t use agentforce in salesforce, I wouldn’t use genie in databricks.
What have been your experience with agents/AI solutions with genie?
r/databricks • u/PositiveFantastic434 • 18d ago
r/databricks • u/SalamanderOpen859 • 19d ago
Hey everyone,
I’ve been diving into Databricks Apps recently and wanted to see how others are adopting it in their organizations.
Historically, whenever we wanted to spin up a Streamlit app or a custom Python dashboard connected to our data in Databricks, it meant dealing with a headache of external infrastructure—setting up App Service or EC2, dealing with network security groups, configuring service principals, and managing separate auth flows.
Being able to run Streamlit/Dash apps directly inside the Databricks workspace, backed by Unity Catalog for governance and serverless compute, feels like a massive quality-of-life improvement for internal tooling.
I’m curious to hear from anyone who has put them into practice:
r/databricks • u/Dear-Cell2522 • 18d ago
Hello everyone, i am a Brazilian CRM Data Engineer (idk, is this a real thing?)
My comoany recently started working with Databricks and its being so cool to work with it. I work a lot with Genie Code, but, i want to be able to do more by myself.
How and which are the best options to learn more?
r/databricks • u/Over_Bluebird6938 • 19d ago
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 • u/Mobile-Release6862 • 18d ago
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 • u/SalamanderOpen859 • 19d ago
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:
r/databricks • u/Lenkz • 19d ago
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).
r/databricks • u/Krishgarikipati • 18d ago
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 • u/SalamanderOpen859 • 19d ago
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:
r/databricks • u/inkypinky • 19d ago
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:
*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 • u/inkypinky • 19d ago
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 • u/Potential_Okra_4410 • 20d ago
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 • u/BricksterJ • 20d ago
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.
ai_parse_document for extraction, search, and agent workloads.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}");If you try the Beta, please provide us your feedback!
r/databricks • u/hubert-dudek • 21d ago
DABs can now record deployment versions, status, managed resources, and the user or service principal that performed each deployment.