Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
We're evaluating where to expand our Databricks delivery capabilities and have been trying to understand which migration and modernization initiatives are generating the most demand.Our initial assumption is that migrations from platforms such as Azu...
I have a sample code snippet:df = spark.table("bronze_dev.default.lineage_table")
df.writeTo("bronze_dev.default.lineage_test_1").createOrReplace()When I run it on serverless I can correctly see lineage and its events in system table.However, when ...
Greetings @tomasz-manys, I did some digging and here is what I found.
Serverless working is the key clue. It runs in a Databricks-managed network, so your UDRs, NSGs, and firewall aren't in its path. That rules out your code, permissions, and metasto...
When ingesting JSON files using Auto Loader, the pipeline can fail whenever the source system introduces a new column.Is there a way to handle these schema changes without manually restarting the pipeline every time?Would using the rescue mode be a b...
Hi @angelinak,Adding a production architecture perspective to the above suggestions.When designing ingestion frameworks for multiple source tables, I prefer separating raw ingestion from downstream transformation and CDC processing.This allows us to:...
Hi all,I'm looking for a best practice on how to share several Python packages with notebooks in a Databricks bundle on serverless compute.Setupbundle-root/
├── databricks.yml
├── pyproject.toml
├── uv.lock
├── resources/
├── notebooks/
│ └── main.ip...
Hello @a_user12, I took a look at both internal and external documentation and here is what I found.
@Avi3 has already given you a solid, tested answer. I agree with it and only have a few things to add from the docs.
Why the import breaks after depl...
AI agents are now converting legacy SQL and ETL code to Databricks at a scale that was hard to imagine a year ago.With Genie Migrate now generally available, an interesting question is what "correctly converted" should mean in a production migration....
Great thread. One layer I'd add from years of DataStage and PowerCenter work is that a lot of the legacy behavior isn't in the SQL at all. It lives in the ETL tool.Reject handling. A DataStage reject link, or a PowerCenter Update Strategy flagging ro...
Hi everyone,I'm provisioning a Databricks workspace on GCP using Terraform with the databricks_mws_workspaces resource and an existing customer-managed VPC.During workspace provisioning, I'm encountering the following permission errors:compute.subnet...
In the standard databricks_mws_workspaces flow, granting setIamPolicy on the subnets won't be enough on its own. The least-privilege workspace (LPW) flow does remove the need for that permission.Why the standard flow keeps failingIn the standard flow...
If you could choose only ONE release from this list to use immediately in production, which one would it be?Drop your answer in the comments Tomorrow: Complete roundup of the Preview releases across all three clouds.https://lnkd.in/p/dDW6apfW Learn....
Hi Databricks Community, I'm Connie from the Databricks UX research team!
We are conducting a user study to understand how data practitioners and business users build, use, and oversee dashboards, reports, and other data artifacts in the agentic era...
Hi all,On an Azure Databricks workspace (Premium, Southeast Asia) that uses Lakebase, Predictive Optimization started running on 16 Nov 2026 on the Databricks-managed telemetry tables in system.lakebase (postgres_logs, compute_counters, plan_history ...
Hi @trantu
@Shaun_W gave the details above for disabling the Lakebase preview features. Please follow them, and If you raise a ticket for Azure Billing (free) and not with Azure Databricks technical support (paid) - you can clarify that it is not on...
While trying to develop metric view in databricks, I encountered with below error.I am using a pii view toget a column to build my final metric view, this is blocking on having the materialization to metric view because of masking functions used whil...
Hi @Avinash_Narala
If the masks are on the base tables, You can create a thin "clean" wrapper views, one simple CREATE VIEW per source that points directly at the base table, excluding or hashing PII columns, and bypassing the masking layer entire...
Hi,In the lesson Demo : Course Setup and Authentication for Automated Deployment with Declarative Automation Bundles, the instructions say to select a LabUser_<username> cluster and use Classic Compute.I don't see either of these options in my Databr...
Greetings @AlanChu, I did some digging and here is what I found.
The LabUser_<username> cluster and the Classic Compute option exist only inside the hosted Vocareum lab workspace the demo was recorded in, as @Divya_Pathak and @yasmeen explained. Not ...
We are implementing a dynamic data masking solution on Azure Databricks using Unity Catalog ABAC policies and SQL UDFs for deterministic masking.Our masking functions retrieve a secret key from a Databricks-backed secret scope using the secret() func...
Greetings @pxs132, I did some digging and here is what I found.
@Kashif_Inamdar's answer matches the current docs: secret() runs with the caller's permissions, and a Unity Catalog Python UDF with the SECRETS clause is the supported fix. On your four ...
Hello Databricks Community,I recently published the V.E.N.K.A.T Frameworkâ„¢, an enterprise architecture model for the Agentic AI era.The idea is simple:As AI moves from generating insights to taking actions, the architecture underneath becomes critica...
Thank you for the thoughtful feedback and encouragement! You've highlighted one of the most critical challenges in enterprise Agentic AI — closing the feedback loop while maintaining governance and accountability throughout the autonomous decision-ma...
Can we read one source table once and reuse it across five Materialized Views without triggering repeated source scans in DLT?source_df = spark.read.table("source_table")dp.materialized_view(name="mv_1")def mv_1():return source_df.filter("condition_1...
Hello @surajitDE
I am following up on the answers to this thread. Thank you for including the code. It made the test quick to set up.
TL;DR: A pipeline has no construct that reads a source once and hands the rows to five materialized views. Each mat...
I recently renamed a Unity Catalog catalog and schema containing Lakeflow Declarative Pipelines (DLT) streaming tables.After renaming them, querying the streaming tables results in the following error:Dependency does not exist in Unity Catalog:
Table...
Greetings @Areqio, I did some digging and here is what I found.
Short answer: I couldn't find a supported way to rename a catalog or schema in place and have pipeline-managed streaming tables follow along. The rename moved the published tables, but t...