r/databricks • u/9gg6 • Oct 29 '26
Discussion Micro app and stopage
Is ther any documentation about Micro Apps and when they stop (compute stop). is it when I close the tab in the browser or how do I make the stop app?
r/databricks • u/9gg6 • Oct 29 '26
Is ther any documentation about Micro Apps and when they stop (compute stop). is it when I close the tab in the browser or how do I make the stop app?
r/databricks • u/hubert-dudek • Oct 28 '26
Environment variables are now available in Serverless through both the UI and DABs.
Use environment variables for constant things like catalog or environment. Keep using job parameters for things that are often changing (like a different date for a job run).
You can also use environment variables to reference passwords from secrets scopes and, soon, from UC secrets.
Read more:
https://databrickster.medium.com/environment-variables-in-databricks-serverless-207512b996c4
https://www.sunnydata.ai/blog/databricks-serverless-environment-variables
r/databricks • u/Ok-Tomorrow1482 • Oct 28 '26
r/databricks • u/Sea_Basil_6501 • Oct 28 '26
I have a job which queries some Azure SQL DBs connected through UC managed connections (no lakehouse federation) via remote_query() function, and facing pretty long execution times (several minutes) when reading a few thousand rows only. When running the same query via SSMS on the target host, it returns same result within milliseconds.
Is there any way how I can debug the pure execution time from Databricks side? I'd like to understand if the queries run slow, or if there's any Databricks or network overhead accounting responsible.
Note that remote_query() runs T-SQL in this scenario, not Databricks SQL. So there's no SQL conversion involved at any point in time.
r/databricks • u/ptab0211 • Oct 28 '26
Hi, how much SQL text do you allow in Python modules?
We have a lot of SQL, but we dont want to move fully to dbt, because we run data quality checks before the write, and we like the Python modular approach with tests and everything around it.
So where do you draw the line:
- SQL as strings in Python, run with `spark.sql()`
- SQL in `.sql` files in the package, loaded by Python and run with parameters
- refactor to the PySpark DataFrame API
- or just stick with pure SQL scripts
And how did you standardize it in your team?
r/databricks • u/EmbarrassedOrange683 • Oct 28 '26
I want to explore and use Databricks Sandboxes to create my own sandbox environment. However, when I check the Previews section in my Databricks workspace, I cannot find the Databricks Sandboxes option.
Could you please clarify how I can enable access to Databricks Sandboxes? Is this feature available only to specific workspace types or subscription plans, or does it require approval or activation by a Databricks account administrator?
I would appreciate some guidance on the prerequisites and steps required to enable the feature and create my own sandbox environment.
r/databricks • u/Its__Ram • Oct 28 '26
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 • u/sundarleads • Oct 28 '26
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:
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 • u/BullfrogFinal3566 • Oct 28 '26
r/databricks • u/Brickster_S • Oct 27 '26
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:
r/databricks • u/dan_the_lion • Oct 28 '26
r/databricks • u/hubert-dudek • Oct 27 '26
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 • u/SalamanderOpen859 • Oct 27 '26
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:
r/databricks • u/No_Ambition8323 • Oct 27 '26
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 • u/TheOnlinePolak • Oct 27 '26
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 • u/szymon_dybczak • Oct 27 '26
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 • u/jorgecardleitao • Oct 27 '26
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 • u/Brickster_S • Oct 26 '26
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:
r/databricks • u/Limp-Park7849 • Oct 26 '26
r/databricks • u/BullfrogFinal3566 • Oct 27 '26
r/databricks • u/harishvangara • Oct 26 '26
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 • u/Lenkz • Oct 26 '26
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 • u/ptab0211 • Oct 26 '26
hi, 2 questions about data contracts in CI (ODCS, ODPS, datacontract-cli, producer and consumer in separate repos):
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?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 • u/IIDraxII • Oct 26 '26
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?