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

trantu
by • New Contributor II
  • 911 Views
  • 10 replies
  • 4 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 ...

  • 911 Views
  • 10 replies
  • 4 kudos
Latest Reply
NandiniN
Databricks Employee
  • 4 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...

  • 4 kudos
9 More Replies
Avinash_Narala
by • Databricks Partner
  • 315 Views
  • 3 replies
  • 1 kudos

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
  • 315 Views
  • 3 replies
  • 1 kudos
Latest Reply
NandiniN
Databricks Employee
  • 1 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...

  • 1 kudos
2 More Replies
AlanChu
by • New Contributor
  • 334 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...

  • 334 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
  • 319 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...

  • 319 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
  • 651 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...

  • 651 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
  • 175 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...

  • 175 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
tomasz-manys
by • Visitor
  • 94 Views
  • 1 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 ...

  • 94 Views
  • 1 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
Areqio
by • New Contributor II
  • 164 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...

  • 164 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
  • 271 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
  • 271 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
  • 333 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 ...

  • 333 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
cristian-vasile
by • New Contributor III
  • 438 Views
  • 2 replies
  • 1 kudos

PAPER: Optimization of SCD Type 2 via the Riemann Semicircle Projection

IntroductionWhy did I want integers instead of calendar dates?My main goal when looking for an alternative to classic DATE columns (like valid_from and valid_to) in SCD2 tables was pure query and storage performance. Modern SQL engines like Databrick...

  • 438 Views
  • 2 replies
  • 1 kudos
Latest Reply
saisaranv
Honored Contributor
  • 1 kudos

Great paper, Cristian! I really enjoyed how you connected a mathematical concept like the Riemann semicircle with a practical data engineering challenge in SCD Type 2 implementations. The focus on improving data skipping, Parquet metadata efficiency,...

  • 1 kudos
1 More Replies
AmitDECopilot
by • Contributor II
  • 515 Views
  • 1 replies
  • 1 kudos

STTM as a Metadata Contract in Databricks

One pattern I keep seeing in data engineering projects:STTM is treated as documentation.But in reality, STTM can become much more than that.A well-structured Source-to-Target Mapping can act as a metadata contract between business, engineering, QA, a...

  • 515 Views
  • 1 replies
  • 1 kudos
Latest Reply
saisaranv
Honored Contributor
  • 1 kudos

Thanks for sharing such valuable insights with the community. Keep up the momentum!   Learn. Build. Share. Grow. Curiosity starts it, community finishes it.Let's light up the Databricks Community!

  • 1 kudos
nareshkumar
by • New Contributor II
  • 403 Views
  • 1 replies
  • 1 kudos

Databricks Certification Exam Suspended - Databricks Certified Data Engineer Associate

Dear Databricks Certification Support Team,My Databricks Certified Data Engineer Associate exam was suspended during the exam session.After the exam was suspended, I verified my system and found that my webcam was not working properly. I believe the ...

  • 403 Views
  • 1 replies
  • 1 kudos
Latest Reply
saisaranv
Honored Contributor
  • 1 kudos

Hi Naresh,Sorry to hear about the interruption during your certification exam. Just checking, have you already received assistance through the Databricks Certification Support team or any other support channel? Is this issue still open, or has your r...

  • 1 kudos
techinlayers
by • New Contributor III
  • 540 Views
  • 1 replies
  • 2 kudos

Databricks architecture drawn step by step: control plane, compute plane, Delta, Unity Catalog

I kept getting the same interview question, "explain the Databricks architecture", and most answers are a wall of text. So I drew it.The crisp answer: Databricks manages the control plane (web app, job scheduler, notebook metadata). Your compute runs...

  • 540 Views
  • 1 replies
  • 2 kudos
Latest Reply
saisaranv
Honored Contributor
  • 2 kudos

Excellent work! This is one of the clearest explanations of Databricks architecture I've come across. The way you've broken down the Control Plane, Compute Plane, Delta Lake, and Unity Catalog into simple visual layers makes it much easier for beginn...

  • 2 kudos
shrenik_jain
by • New Contributor
  • 315 Views
  • 1 replies
  • 0 kudos

Login Error Assistance - Reference ID: a728332e-daf7-436d-a676-99ac4b3b0033

Unable to log in to the Databricks account to opt for the subscription to use the compute options, but in Azure, able to create workflows.

shrenik_jain_0-1789572156586.png
  • 315 Views
  • 1 replies
  • 0 kudos
Latest Reply
saisaranv
Honored Contributor
  • 0 kudos

Hi @shrenik_jain To help narrow down the issue, could you clarify whether this is:Databricks Community/Free EditionA personal trial accountAn enterprise/commercial workspaceAlso, which cloud platform is backing the workspace?Azure DatabricksAWS Datab...

  • 0 kudos
Labels