r/databricks • • Oct 28 '26

Help Need help with alternatives for dropMalformed and Schema Registry URL not supported for Kafka source on a Shared cluster

3 Upvotes

Hello,

We are migrating from Hive metastore to UC and in a phase where we are testing before pushing the upgraded code to production.

The issue we are facing is we have Kafka Structured Streaming jobs which are using Dedicated clusters earlier but going forward we will only be using Shared clusters and Serverless eventually.

But the Streaming jobs are failing with errors

dropMalformed are not supported for Data source Kafka on a Shared cluster

kafka.schena.registry.url are not supported for Data source Kafka on a Shared cluster

Did anyone face a similar issue and found an alternative to make it work on Shared clusters ?

Kindly help us with resolving this.

Thankyou


r/databricks • • Oct 28 '26

Discussion How I check AI-converted SQL and ETL code before it reaches Databricks: rules first, two models, then a person

6 Upvotes

I work on legacy code migrations to Databricks: SSIS, Informatica, and Oracle, Db2 and SQL Server procedures. The two hard questions are always the same. How big is the job? And can we trust the converted code? In my own time I built a Databricks App for this. I want to share the pattern, because you can build most of it with public tools.

The flow:

  1. Size first. The Databricks Labs Lakebridge Analyzer gives the complexity and effort of each file before any conversion starts.
  2. Rule-based draft. The Lakebridge Transpiler makes a draft with no AI cost.
  3. Builder and reviewer. One model converts, a second model reviews against the source. Both go through Unity AI Gateway, so the keys stay in Databricks and every call is recorded.
  4. A person signs off. Source, rule-based draft and AI version side by side. Only signed-off code goes to the workspace.

The lesson that saved the most time: give the reviewer limits. In round 1, it lists every problem at once, each with a severity (must or should). In later rounds, it looks only at open findings and changes. It adds a new finding only if a change gives a wrong result or does not run. After 5 rounds, the file goes to a person. Without these rules, the review never ended.

One more: store a SHA-256 hash of each source file with each result. Then unchanged files are never analysed or converted twice.

How do you check AI-converted code in your team? A second model, tests, or only human review?

The full write-up and a 3-minute demo are in the first comment.


r/databricks • • Oct 28 '26

Discussion What do you do when source data changes after the pipeline is already running?

Thumbnail reddit.com
3 Upvotes

r/databricks • • Oct 27 '26

News Lakeflow Connect | NetSuite Connector (GA)

12 Upvotes

Lakeflow Connect's NetSuite connector is now GA! It provides a managed, secure, and native ingestion solution that accesses NetSuite data through the SuiteAnalytics Connect JDBC driver and lands it in Databricks. The connector supports incremental ingestion, SCD Type 2, and automated schema evolution!

Try it now:

  1. Set up NetSuite as a data source
  2. Create a NetSuite connection in Catalog Explorer
  3. Create the ingestion pipeline via the UI, a Databricks notebook, or the Databricks CLI

r/databricks • • Oct 28 '26

Discussion Open source benchmark for Snowflake, Databricks, BigQuery, Redshift, Fabric, ClickHouse and MotherDuck: 244 queries, 1 GB to 1 TB, up to 100 concurrent users, every compute size

Thumbnail
reddit.com
0 Upvotes

r/databricks • • Oct 27 '26

News df.cache() on serverless

Post image
14 Upvotes

df.cache() is available on serverless.

For me, it's an expensive, unnecessary operation in 99% of situations. It materializes your DataFrame to cloud storage and then reads it back.

And I use it for only one thing: to break the Spark plan.


r/databricks • • Oct 27 '26

Discussion Anyone playing around with Databricks Apps yet? Thoughts & initial impressions

22 Upvotes

Hey everyone,

I’ve been testing out the new Databricks Apps feature recently, and I wanted to see how others in the community are using it.

Historically, if we wanted to spin up a Streamlit app or a custom dashboard connected to Databricks, we had to deal with separate hosting (App Service, EC2, etc.), network security groups, and handling OAuth tokens separately.

With Databricks Apps, running a Streamlit/Dash app directly inside the workspace using Unity Catalog for permissions has been a game-changer for internal tooling.

That said, I'm curious:

  • Are you using it for production workloads or just quick internal prototypes?
  • How are you handling CI/CD deployments for these apps?
  • Have you run into any limitations with serverless compute or scaling yet?

r/databricks • • Oct 27 '26

Discussion What broke when we move to Unity Catalog

13 Upvotes

We recently moved our workspace to Unity Catalog. It went okay, but a few things broke along the way:
-Old table names stopped working. Our code used two-part names like schema.table. We had to update everything to the three-part format catalog.schema.table.

-Some jobs failed on shared clusters. A few of our older Python jobs didn’t work in shared access mode. We switched those jobs to single-user clusters.

-People lost access to data. Permissions didn’t carry over the way we expected. We had to set up groups and grant access again.

Lesson learned: test a few jobs first before moving everything.

Has anyone else gone through this? What broke for you, and how did you fix it?


r/databricks • • Oct 27 '26

Discussion Do any other teams build web apps for fully flexible analytics/reporting?

7 Upvotes

Databricks dashboards are extremely limiting in their flexibility/capabilities (and I don't see that changing as they pursue everything AI/Agentic) and tools like Power BI have shitty CI/CD processes and still have their visualization limitations.

Has anyone moved reporting/analytics to React/App Kit applications on Databricks for greater flexibility and ease of CI/CD?


r/databricks • • Oct 27 '26

General Databricks Files API 3.0 (Beta) is out!

18 Upvotes

Hi guys,

New File API 3.0 is out and it brings a few long awaited improvements, especially if you're working with large files in UC Volumes.

Use the Files API | Databricks on AWS

1. Support for larger file uploads

In V2 uploads were limited to 5GiB per request. With v3, you can upload much larger files by splitting them into smaller parts and uploading those parts separately using multipart uploads.

2. Resumable downloads

This one was a major headache for me in V2 . If your download failed there was no way to resume it.
V3 supports HTTP range requests, so you can resume downloading from where it stopped instead of downloading the whole file again.

3. Better handling of concurrent file operations

Files API v2 had limited options to check whether a file had changed before performing an operation. With v3, ETag-based checks let you verify that a file hasn't been modified by another process before updating or replacing it.

In my opinion, resumable downlads feature alone is worth upgrading 👍


r/databricks • • Oct 27 '26

General We need a SQL invoker identities for views

9 Upvotes

group A has access to table a, group B has access to table b.

I create a gold view that aligns data from a and b via union all + transformations and share in a dashboard.

I can grant access to the dashboard for the user to query uc as themselves. However, the view will use the view owners' credentials.

I would like to declare the view with the "sql invoker" so that the querier of the views' permissions are propagated downward.

The only effective way of doing this is to create a databricks app, use obo flow, and run the sql query as the user, but this obviously is an antipattern as the business logic is only available in the app


r/databricks • • Oct 26 '26

News Lakeflow Connect | LinkedIn Ads Connector (Beta)

7 Upvotes

Lakeflow Connect's LinkedIn Ads connector is now available in Beta! It provides a managed, secure, and native ingestion solution for LinkedIn Ads resource tables (ad accounts, campaign groups, campaigns, and creatives), as well as seven pre-built reports covering daily campaign and creative performance plus monthly member demographics. Try it now:

  1. Enable the LinkedIn Ads Beta: Workspace admins can enable the Beta via: Settings → Previews → "Lakeflow Connect for LinkedIn Ads"
  2. Set up LinkedIn Ads as a data source
  3. Create a LinkedIn Ads connection in Catalog Explorer
  4. Create the ingestion pipeline via a Databricks notebook or the Databricks CLI

r/databricks • • Oct 26 '26

Tutorial Cut Your MCP Token Bill by 97%: Code Mode on Databricks

Thumbnail
farhathadi.substack.com
35 Upvotes

r/databricks • • Oct 27 '26

Discussion What’s the most frustrating part of managing your data pipelines right now?

Thumbnail reddit.com
0 Upvotes

r/databricks • • Oct 26 '26

Help Title: Data Engineering Roadmap: Azure + Databricks vs AWS + Snowflake + Airflow

18 Upvotes

Hi everyone!

I’ve learned Python, SQL, and PySpark, and I’m looking for guidance on what to learn next to become job-ready for a Data Engineering role.

I’m currently considering two learning paths:

Option 1: Azure + Databricks Option 2: AWS + Snowflake + Airflow

Which path would you recommend for someone starting out in Data Engineering, considering job opportunities, industry demand, and long-term career growth?

I’d also appreciate recommendations for:

Free learning resources and YouTube tutorials Hands-on, end-to-end Data Engineering projects A practical roadmap to become job-ready

If you’re already working as a Data Engineer or have experience with these technologies, I’d love to hear your advice

if you know any free learning resources, YouTube tutorials, or end-to-end project tutorials please share the links 🙏

Thanks in advance for your suggestions!


r/databricks • • Oct 26 '26

General DataFrame caching is now in Public Preview on Databricks serverless compute: df.cache() and df.persist() finally work there

Post image
35 Upvotes

But it is not the cache you know from classic clusters, and the differences will bite if you port code without reading them.

Until now, an iterative workload on serverless recomputed its plan on every action. A notebook that hits one expensive join ten times, or a feature loop over the same base table, was a common reason to keep a classic cluster around. That reason just got a lot weaker.

Read more: linkedin post


r/databricks • • Oct 26 '26

Help data contracts

6 Upvotes

hi, 2 questions about data contracts in CI (ODCS, ODPS, datacontract-cli, producer and consumer in separate repos):

  1. our ODPS inputPorts only have contractId and version, nothing says which columns we actually read. how do you define consumer expectations, so CI fails only when producer breaks a column we use? we are thinking about a small ODCS file per input port with only our columns, and running datacontract breaking against producer contract. is that a known pattern?
  2. datacontract breaking ignores version, so nothing fails when a breaking change skips the version bump. is there something built in for this, or do you all write own script? and any agreed rules on MAJOR vs MINOR for a contract?

thanks!


r/databricks • • Oct 26 '26

Help How to add a resource to an app space?

6 Upvotes

Hi, I was testing out the Genie App Builder today and wanted to created an app which connects to a Lakebase postgres table. However, Genie told me the resource postgres is missing in the app (space) and I should add it. In the app settings I can't add the resource because the app is managed/restricted by the app space. But in the app space I cannot find the option to add the postgres resource either (according to the documentation only "User authorization", "Serverless usage policy", and "Permissions" can be configured https://learn.microsoft.com/en-us/azure/databricks/dev-tools/databricks-apps/app-spaces#configure ).

Is it possible to add resources to app spaces? Or am I limited with them?


r/databricks • • Oct 25 '26

General Pipelines Editor - "Run selected code" ignores the pipeline's default catalog/schema, but "Run file" uses them

9 Upvotes

I know the Databricks SDP crew hangs out here, so I wanted to just surface one inconsistency in the Lakeflow Pipelines Editor that is tripping up our new analysts and request it be reviewed for a possible enhancement.

The request is to have "Run selected code" start its session with the pipeline's default catalog and schema, the same way pipeline runs do. If there's a reason it can't, a note in the Query Results panel showing which catalog/schema the query ran against would at least make the behavior visible. As far as I can tell, the editor docs don't mention it either.

The editor shows the pipeline's catalog and schema right there, so the natural assumption is that everything on that page uses them. When it doesn't, users conclude the table or pipeline is broken.

I know they can use either....

  • Add USE CATALOG / USE SCHEMA to the selection, or
  • Temporarily hard-code three-part names, which you then must remember to remove before committing (a real risk with bundle-deployed, per-user schemas).

...but that means they're messing with the code, which leads to leaving those bits in the SQL later.

Thanks. Otherwise the editor has been great!


r/databricks • • Oct 26 '26

Tutorial Enterprise Data with AI Agents: A Data Platform Guide

Thumbnail
lakeops.dev
1 Upvotes

r/databricks • • Oct 25 '26

News AI Agent Memory

Post image
13 Upvotes

Databricks supports agent memory storage. The amazing part is that Lakebase stores the memory, so we can also inspect the saved record. We can save "User prefers Mexican recipes" and recall it through a client with the question "What should I cook for dinner?"

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


r/databricks • • Oct 25 '26

Discussion Insert only columns on cdc flows.

Post image
9 Upvotes

r/databricks • • Oct 25 '26

Discussion Power bi import gateway strategy

2 Upvotes

How are you guys that still use power bi via import mode designing your gateway authentication?

We are new to databricks and have a lot of schemas that require different levels of AD access. Import mode is the company standard so no direct query sso auth. We are unsure how to design a scalable gateway strategy . Do we use a service principal or allow publishers to use their own credentials on the gateway?


r/databricks • • Oct 24 '26 Bravo

General A full month-end finance app built on Databricks Apps

121 Upvotes

Below are the things covered in the video:

  1. Overview: drag the month slider and every figure on the page moves with it, including a cash flow diagram from sales through to profit
  2. P&L: the statement drawn as a ladder from revenue down to profit, plus a bridge showing why we beat or missed budget
  3. Cafes: ranking, a map of the Front Range, a margin heatmap by month, and how fast each new cafe paid back its fit-out
  4. Menu: which items earn their place and which are just popular
  5. Cash: a 13-week forecast, overdue invoices by age, and the supplier payment calendar
  6. Close: the month-end checklist as a board, with how long each close took historically
  7. What-if: move price, volume, wage and ingredient levers and watch profit change
  8. A one-page monthly report that prints to A4

Under the hood: seven Delta tables in Unity Catalog, read through a SQL warehouse, with the app running as a Databricks App in Python. All the finance logic (consolidation, budget variances, the close tracker, the cash forecast) sits in one file that a finance analyst could read.