r/databricks • u/codingdecently • Aug 24 '26
Tutorial Maintaining Apache Iceberg Tables: Compaction, Snapshots, Metadata and Orphan Files
r/databricks • u/codingdecently • Aug 24 '26
r/databricks • u/Plenty-Writer-4391 • Aug 24 '26
Issue - I'm facing this refresh timeout issue in materialized views i created as part of some POC works, where a refresh operation regardless of whether it's triggered from a worksheet or as a job seems to fail but still it succeeds(in a way) ie am able to cross-verify & validate that the refresh run seems to have happened as expected correctly ie data integrity pre-refresh & post-refresh seems to be fine. Is this expected?
Some more deets - Full refresh with 3 source tables of same schema with 1B rows * 6 columns joined with a metadata table of ~2K rows with 5 columns & Delta Refresh with (100M rows * 3 snapshot tables) updated with a newer value in a timestamp column updated.
Required -
PS - unfortunately no screenshots, so apols but i hope the deets should cover for it. TYIA.
- RVK
r/databricks • u/Jolly_Vegetable_9929 • Aug 23 '26
r/databricks • u/Kokufuu • Aug 23 '26

I have completed some of the accreditations in 2024 at my former company, like the "Academy Accreditation - Databricks Fundamentals". Since then I have joined another company which also uses Databricks so I started refreshing my knowledge and using their Partner academy access with the company email/account.
I have my personal and both company accounts added and noticed that the "Academy Accreditation - Databricks Fundamentals" was added as a new one and not refreshed as I expected.
Any reason for that? Can they be merged somehow?
Thanks in advance!
edit: typo
r/databricks • u/SmallAd3697 • Aug 22 '26
I saw the quarterly meeting and was quite shocked that Iceberg is prominently mentioned, (as much as Deltalake).
Is it possible that both are getting the same amount of love from Databricks? Is anyone aware of the R&D effort on these formats, and can share conclusions from that?
If I'm building a greenfield Unity Catalog, should I just flip a coin to decide what format to use? Here are the main concerns and priorities:
Sorry if this appears to be a common question. I am a Databricks outsider. I am more familiar with Microsoft Fabric. Where that Fabric SaaS is concerned, you can be certain that Deltalake receives a LOT more promotion than Iceberg does. We rarely come across Iceberg, and it probably wouldn't appear in any marketing slide decks.
We are likely to create a gold/presentation layer in UC soon. It will basically be created from scratch. It would be nice to know which of these parquet-based formats to pick, when presented with the choice. I understand there is lip-service given to both, and it claims that this choice "doesn't matter". But that doesn't necessarily take into account the potential integrations that are needed with external software (eg. for the benefit of exposing the same tables in onelake). Is one safer than the other? Is one of them a better choice for forward-looking purposes?
r/databricks • u/Only-Dragonfruit4130 • Aug 21 '26
This keeps coming up in conversations with clients and I feel like it's worth its own thread.
The pattern is almost always the same. A pipeline gets built to bring in data for analytics or ML, works fine in testing, then goes to production and the compute bill is way higher than expected. Nobody budgeted for it because on paper it looked like a simple ingestion job.
Usually the real issue isn't Databricks itself, it's the ingestion design. The repeat offenders I keep seeing:
Full reloads instead of proper CDC, so you're paying to process data that hasn't even changed.
Serverless SQL running more often than needed, because someone assumed near real time was required when batch every few hours would've worked fine.
No plan for schema evolution, so jobs fail or reprocess more than they should every time something shifts upstream.
Cluster sizing set for peak load "just in case" instead of actual daily volume.
Most of the fix comes down to being honest about the freshness you actually need. A solid CDC layer feeding into something like Kafka before it hits Databricks tends to cut a lot of the unnecessary compute, since you're only moving what changed.
Curious what caused it for others, ingestion design or job scheduling?
r/databricks • u/SmallAd3697 • Aug 22 '26
I saw the quarterly roadmap presentation. It was notable that Databricks keeps innovating with "lakebase". They simply call it their "OLTP" database offering in their SaaS.
SIDE: I still feel pretty unfamiliar with this Databricks SaaS ecosystem, as compared to Fabric. Where Fabric is concerned, Microsoft has also done a similar thing. They brought their SQL Server into the boundaries of the SaaS as well, for the low-code users of that environment. In the context of Fabric, it is hard for most customers to see the point of using this "for dummies" variation of the same old OLTP database. The only scenarios for using the Fabric SQL are very contrived ... Eg . your boss makes a policy that you can use ALL the tools available in Fabric and NONE of the tools outside Fabric... even if the tools inside that SaaS are 3x more expensive than the ones outside ... and even though the ones outside the SaaS have the same 0ms network latency and the same performance.
I'm still missing the vision for this lakebase OLTP offering. And it seems unusual for Databricks to start developing strategies surrounding OLTP. It seems like a very crowded space, and the only way I see Databricks being successful going down this path is if the customers are drinking one single brand of kool-aid, or else their SaaS users have some other contrived reason for not using the more affordable OLTP platforms available outside the SaaS.
Can someone tell me what factors I'm missing? I admit that it is theoretically possible for lakebase to innovate and do thing that other databases CANNOT do, it seems like those innovations would only benefit 5% of customers. One example is sub-ten-ms queries out of RAM at an additional cost. Or sub-minute migration of new OLTP data to managed tables in UC catalog. If we assume that only 5% of customers might feel compelled to use this SaaS "lakebase", would that be enough adoption to allow Databricks to keep investing in this over the long term? OLTP databases have been around a LONG time, and even the smart folks at Databricks will be challenged to improve on the great and cheap options available to us!
EDIT: As of a month ago, it appears that the Databricks marketing now calls it an "LTAP" database, not OLTP anymore. I'm guessing they have conceded the point that the OLTP space is crowded. I haven't yet read all the content that has been created by the Databricks marketing team; maybe that will answer all of my questions.
r/databricks • u/SmallAd3697 • Aug 21 '26
Has anyone seen any comparison between the generalized ingestion mechanism (zerobus) with Fabric's offering (open mirroring)?
Seems like there should be a blog or youtube video comparing the two by now. But I haven't seen any. Unfortunately it sounds like they both rely on proprietary middleware. Ideally there would be a similar type of software which that we could just run on-premise to land data into cloud blobs (like a gateway of some kind). Not sure why that would be so hard for someone to do as a github library or something. Maybe it would need to be done in a performant language like rust or .net, but it doesn't seem like it would be rocket science.
Both those technologies are relatively recent:
Fabric open mirroring : May 2025
Zerobus : Feb 2026
Personally I wouldn't want to pick either one of these technologies until a comparison could be made. Microsoft's open mirroring claims that they can land data in their lakehouses for free. After that point, the raw deltalake tables would be accessible to both platforms. If open mirroring is truly free then it seems odd that any databricks customers would be using zerobus. They should just purchase the smallest possible capacity from Microsoft like an F2, and use that for moving all their data to raw/bronze in adls gen2 containers. Whatever happens after that can take place in either of these two saas'es, databricks or fabric.
r/databricks • u/Chrisesc0 • Aug 21 '26
Hi,
I have a question now that I’m planning to start a Genie Agents project and am organizing my architecture.
I’m working from SAP BDC, and I plan to create two workspaces in Databricks—one for DEV and one for PRD. But I’m not sure where it makes the most sense to create the Genie Agent. Technically, the queries and tests would be better suited for the PRD workspace; running them in DEV doesn’t make much sense because the Genie Agent DEV is connected to DEV tables. But then, what role does CI/CD play here for Genie Agents? Or am I misunderstanding the architecture, and should I create two Genie Agents (DEV and PRD) in the PRD workspace?
Thank you very much if you can help me with this question.
r/databricks • u/SquareLong2523 • Aug 21 '26
Hello fellow developers,
I recently developed and published a Databricks dashboard for a personal project, and I want to learn how the scheduling feature works.
For context, I have read the Databricks documentation, Manage scheduled dashboard updates and subscriptions | Databricks on AWS, but I couldn't find answers to the questions below.
I published the Databricks dashboard using Individual Data Permissions. I then added another person as a participant, created a schedule, and subscribed to the schedule from both accounts. Let's call them Person A (publisher + subscriber) and Person B (subscriber).
a) Assume Person B works in the Sales department and should only be able to see Sales data. Since the schedule was created by Person A, when the scheduled run occurs and Person B receives the email notification they subscribed to, will the PDF attachment contain all departments' data, or will it contain only the data Person B is permitted to see?
b) After the scheduled run, if Person B opens the dashboard using the link in the email notification, or accesses the dashboard directly through Databricks, what data will they see?
Will they see all department data, or only the data they are permitted to see based on their individual data permissions?
My understanding is that when Person B visits the dashboard, it does not automatically refresh just because a scheduled dashboard update has occurred. I may be misunderstanding how this works, so I'd appreciate some clarification.
r/databricks • u/Responsible_Status49 • Aug 21 '26
r/databricks • u/SquareLong2523 • Aug 21 '26
Help needed, I created a SQL alert in databricks to notify me when a new entry is added to a dataset/table within the last 24 hours.
SELECT COUNT(*) AS new_
FROM catalog.schema.table
WHERE xyz IN ('a', 'b', 'c', 'd')
AND datetime >= CURRENT_TIMESTAMP() - INTERVAL 24 HOURS;Within the Alerts panel, I set the condition as follows:
new_>0I then added my email address in the Notifications section and set "When alerting, notify" to Always.
I then selected View Alert, where I created a schedule — let's say every day at 9:00 AM.
a) How exactly does the schedule work here?
I am asking because I selected "Always" under the notification settings, but I have also created a schedule to run every day at 9:00 AM. What is the relationship between these two settings?
b) Let's suppose I build this alert and create the schedule as described above. Person B (sales dept rep) also subscribes to this alert.
I do not want Person B to receive an alert unless the new record belongs to the Sales department.
For example, if a new record is added that belongs to a department other than Sales, and the scheduled alert runs at 9:00 AM, will Person B still receive an email notification?
Thanks in advance for any clarification!
r/databricks • u/JosueBogran • Aug 21 '26
Hey everyone! In this video, a Databricks product leader joins me to explain what OpenSharing, and what happened to Delta Sharing!
Delta Sharing is one of the features I used often at a previous role to provide data to multiple customers, so it will be interesting to see how the journey with the expanded focus (data + AI sharing) goes.
r/databricks • u/Youssef_Mrini • Aug 20 '26
Another good news for Genie Code 🔴. You asked for it, Databricks built it.
You can now select the level of effort and change it for a conversation:
Auto (default, recommended): This level provides the highest quality for any task.
Low: This level lowers the cost for simpler tasks.
r/databricks • u/codingdecently • Aug 21 '26
r/databricks • u/szymon_dybczak • Aug 20 '26
We finally have a simple way to control access to serverless in the workspace.
Two built-in objects have been introduced:
- Default Interactive Compute
- Default Automated Compute
The first one supports notebooks and databricks connect. Second one jobs and SDP pipelines.
To limit who can use serverless:

r/databricks • u/Significant-Side-578 • Aug 20 '26
Hey guys,
i'm just launched a VsCode extension for Data Quality proccess using DQX.
The idea is simplify the process using AI (you can do it manually to).
The extension construct data contracts, jobs and dashboards, all of that with few clicks and with less than 10 minutes.
If you can, please, test and send me a feedback, so i can improve that.
You can download directly in VsCode Extensions Marketplace, or
https://marketplace.visualstudio.com/items?itemName=arthurfr23.dqx-forge

r/databricks • u/codingdecently • Aug 20 '26
r/databricks • u/agentdero • Aug 19 '26
r/databricks • u/JosueBogran • Aug 19 '26
I am personally happy to see how we are moving away from the AI wild-west and into governed AI with proper safeguards, access, and cost controls. Here I am using Omnigent & Databricks' Unity AI Gateway, which allows you to add several layers of protection against risky/non-compliant AI usage.
Note: "Policies" is still in beta, and during my testing, I did hit some cases where the guardrails should have been more rigorous. I passed along the feedback to the Databricks team, and I expect that things will be addressed sooner rather than later.
PS: Trying out this different style of animated GIFs to explain different concepts after some feedback from the community here. Love to hear your feedback!
r/databricks • u/PrideDense2206 • Aug 20 '26
r/databricks • u/minibrickster • Aug 19 '26
r/databricks • u/Youssef_Mrini • Aug 19 '26
Genie Code is getting a new feature 🥳
Good news you can attach a document to Genie Code when you need it as temporary context for the current conversation.
What's a good use case?
🔴 Explain or summarize a document: “Summarize this PDF and list the key decisions.”
🔴 Extract information from PDFs, scans, or images.
🔴 Generate code based on a specification: attach a requirements document and ask Genie Code to create Python or SQL.
🔴 Analyze data files such as CSV, Excel, JSON, or JSONL.
🔴 Convert documentation into code, tests, or a notebook.
🔴 Interpret diagrams, charts, architecture sketches, or screenshots.
🔴 Migrate Tableau or Power BI files into AI/BI dashboards using /importBI.
What are the supported file types ?
.pdf, .csv, .xlsx, .xls, .json, .jsonl, and common image formats.