cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

a_user12
by • Contributor II
  • 175 Views
  • 4 replies
  • 2 kudos

Resolved! Best practice for using multiple local Python packages in notebooks within a Declarative Automation

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...

  • 175 Views
  • 4 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

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...

  • 2 kudos
3 More Replies
Migration_Exprt
by • New Contributor II
  • 395 Views
  • 9 replies
  • 6 kudos

What should "done" mean in an Oracle to Databricks migration?

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....

  • 395 Views
  • 9 replies
  • 6 kudos
Latest Reply
john_serafim
  • 6 kudos

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...

  • 6 kudos
8 More Replies
tomasz-manys
by • New Contributor
  • 150 Views
  • 2 replies
  • 0 kudos

Lineage in Unity Catalog not filled in classic compute

 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 ...

  • 150 Views
  • 2 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

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...

  • 0 kudos
1 More Replies
architgupta007
by • Visitor
  • 88 Views
  • 1 replies
  • 1 kudos

GCP Workspace Provisioning: Subnet IAM Permission Errors with Terraform

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...

  • 88 Views
  • 1 replies
  • 1 kudos
Latest Reply
arthurfr23
Contributor II
  • 1 kudos

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...

  • 1 kudos
connieyang
by • Databricks Employee
  • 207 Views
  • 0 replies
  • 1 kudos

Participate in a Databricks User Study!

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...

  • 207 Views
  • 0 replies
  • 1 kudos
trantu
by • New Contributor II
  • 973 Views
  • 10 replies
  • 8 kudos

Predictive Optimization keeps running on system.lakebase after disabling it at account level

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 ...

  • 973 Views
  • 10 replies
  • 8 kudos
Latest Reply
NandiniN
Databricks Employee
  • 8 kudos

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...

  • 8 kudos
9 More Replies
Avinash_Narala
by • Databricks Partner
  • 380 Views
  • 3 replies
  • 2 kudos

Resolved! Metric View Materialization Failure

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...

Avinash_Narala_0-1795538949326.png
  • 380 Views
  • 3 replies
  • 2 kudos
Latest Reply
NandiniN
Databricks Employee
  • 2 kudos

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...

  • 2 kudos
2 More Replies
AlanChu
by • New Contributor
  • 377 Views
  • 7 replies
  • 2 kudos

Automated Deployment with Declarative Automation Bundles: DEMO SETUP

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...

  • 377 Views
  • 7 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

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 ...

  • 2 kudos
6 More Replies
pxs132
by • New Contributor II
  • 386 Views
  • 4 replies
  • 4 kudos

Resolved! Accessing secret scope keys from Unity Catalog SQL UDFs without granting users READ permission

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...

  • 386 Views
  • 4 replies
  • 4 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 4 kudos

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 ...

  • 4 kudos
3 More Replies
vkondepati
by • Databricks Partner
  • 668 Views
  • 2 replies
  • 3 kudos

V.E.N.K.A.T Frameworkâ„¢

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...

  • 668 Views
  • 2 replies
  • 3 kudos
Latest Reply
vkondepati
Databricks Partner
  • 3 kudos

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...

  • 3 kudos
1 More Replies
surajitDE
by • Contributor
  • 216 Views
  • 3 replies
  • 1 kudos

How to Read a Source Table Once and Reuse It Across Multiple Materialized Views in LDP/DLT

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...

  • 216 Views
  • 3 replies
  • 1 kudos
Latest Reply
LingeshK
Databricks Employee
  • 1 kudos

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...

  • 1 kudos
2 More Replies
Areqio
by • New Contributor II
  • 202 Views
  • 3 replies
  • 1 kudos

renaming schema and catalogs of a DLT streaming tables

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...

  • 202 Views
  • 3 replies
  • 1 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 1 kudos

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...

  • 1 kudos
2 More Replies
Divya_Pathak
by • New Contributor III
  • 301 Views
  • 4 replies
  • 1 kudos

DQX Studio – DQ Score Calculation Does Not Respect Row Filter Denominator

Hi everyone,I am currently exploring DQX Studio for data quality monitoring in Databricks and have encountered an issue with DQ score calculation when using row filters.My requirement is to perform data quality checks only on records loaded or update...

Divya_Pathak_0-1795598319398.png Divya_Pathak_1-1795598340177.png
  • 301 Views
  • 4 replies
  • 1 kudos
Latest Reply
niteshm
Contributor III
  • 1 kudos

Hi @Divya_Pathak, DQX Studio has merged a fix for this on main in PR #1611. It uses the number of rows selected by each filtered row-level check as that check’s denominator. The fix is absent from studio-v0.1.2, the latest published Studio release I ...

  • 1 kudos
3 More Replies
a_user12
by • Contributor II
  • 391 Views
  • 8 replies
  • 5 kudos

Resolved! Manage Project Dependencies with pyproject.toml

Dear Community!I want to work in a serverless environment. I tried this code here a couple of weeks:resources: pipelines: test_uv_etl: name: test_uv_etl catalog: ${var.catalog} schema: ${var.schema} serverless: true ...

  • 391 Views
  • 8 replies
  • 5 kudos
Latest Reply
ivanvyd
Contributor III
  • 5 kudos

Thanks for the follow-up. The table came from a one-row Lakeflow pipeline materialized view called editable_install_proof. The pipeline read the installed version with importlib.metadata and the editable flag from direct_url.json, then wrote them wit...

  • 5 kudos
7 More Replies
Labels