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

Suheb
by • Contributor
  • 4370 Views
  • 3 replies
  • 0 kudos

Resolved! How do I choose between a standard cluster and a shared cluster in Databricks?

When should I use a single-user cluster, and when should I use a multi-user/shared cluster? What’s the difference and how do I pick the right one?

  • 4370 Views
  • 3 replies
  • 0 kudos
Latest Reply
Coffee77
Honored Contributor III
  • 0 kudos

Agree with previous responses BUT consider using a dedicated cluster if using it under an "automation security principal" identity for a subset of your jobs, if that makes sense. To summarize, you need to run a job, under a non-human identity and you...

  • 0 kudos
2 More Replies
RevanthV
by • Contributor
  • 1604 Views
  • 3 replies
  • 0 kudos

POC on spark 4.x

I need to do some POC with spark 3.5.7 and 4.x and need some local setup with some sample Kafka source. The POC would read data from Kafka via streaming job and write to delta table and I would like to do this on spark-4.x ..Do you know of any quick ...

  • 1604 Views
  • 3 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Hello @RevanthV , I did some digging and here are some helpful tips. Got it — here are fast, reproducible ways to stand up a local Kafka source and run a Spark Structured Streaming job that writes to a Delta table, plus the common fixes for the conne...

  • 0 kudos
2 More Replies
Deenar
by • New Contributor II
  • 1746 Views
  • 2 replies
  • 1 kudos

Dashboard Filters (Showing Description) but selecting the id value for use query parameters

HiIs there a way to have a Single or multiple filter in a Dashboard that shows titles/names but on selection passes in the identifier as query parameter filters. The cost management dashboard shipped by Databricks seems to do this for the workspace s...

Deenar_0-1740567476099.png
  • 1746 Views
  • 2 replies
  • 1 kudos
Latest Reply
200052
New Contributor II
  • 1 kudos

I wanted to share my solution to this, hope this helps. Create a SQL function that accepts an ARRAY<STRING>, extracts a numeric ID enclosed in parentheses from the end of each string, and returns an ARRAY<BIGINT>.Example UsageInput: ["Item (1)", "Ite...

  • 1 kudos
1 More Replies
africke
by • New Contributor II
  • 2173 Views
  • 3 replies
  • 2 kudos

Resolved! Cannot view nested MLflow experiment runs without changing URL

Hello,I've recently been testing out Databricks experiments for a project of mine. I wanted to nest runs, and then see these runs grouped by their parent in the experiments UI. For the longest time, I couldn't figure out how to do this. I was seeing ...

africke_0-1763067856720.png africke_1-1763068038451.png
  • 2173 Views
  • 3 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

@africke , If you’re happy with the results, please go ahead and accept this as the solution so others know it worked.

  • 2 kudos
2 More Replies
kyeongmin_baek
by • Databricks Partner
  • 1966 Views
  • 4 replies
  • 1 kudos

Resolved! Got an empty query file when cloning Query file.

Hello Community,In our AWS Databricks environment, we’ve encountered some behavior we don’t understand while performing the following operation.When we clone a query file that already has content, a new file is created with the same name and “(clone)...

  • 1966 Views
  • 4 replies
  • 1 kudos
Latest Reply
Raman_Unifeye
Honored Contributor III
  • 1 kudos

@kyeongmin_baek - There is no aut-save or CMD+S for Query as it get saved only once it is attached to a cluster AND 'SAVE' icon is used. However, it still stays in cache as unsaved in that 'query' window but cloning or other file operations may lose ...

  • 1 kudos
3 More Replies
Shivaprasad
by • Contributor
  • 1094 Views
  • 2 replies
  • 0 kudos

Error while creating databricks custom app

I am trying to create a simple databricks custom app but I am getting Error: Could not import 'app'. error.app.yaml fileenv: - name: FLASK_APP   value: '/Workspace/Users/sam@xxx.com/databricks_apps/hello-world_2025_11_13-16_19/Gaap_commentry/app'comm...

  • 1094 Views
  • 2 replies
  • 0 kudos
Latest Reply
Shivaprasad
Contributor
  • 0 kudos

Thanks, I have modified the yaml file but still getting Error: Could not import 'app'   errorenv:  - name: FLASK_APP    value: '/Workspace/Users/xxx@zzz.com/databricks_apps/hello-world_2025_11_13-16_19/Gaap_commentry'command: [  "flask",  "--app",  "...

  • 0 kudos
1 More Replies
Escarigasco
by • New Contributor III
  • 883 Views
  • 1 replies
  • 2 kudos

Resolved! Usage Dashboard from Cody Austin Davis displays only DBUs or overall cost including the VM uptime?

Hello,I have been looking at the new Dashboard created by @CodyA ( great job! ) and I was wondering if the cost displaying only provides visibility to only the databricks mark-up on each job ( i.e. $ DBUs ) or to the overall cost including cloud prov...

  • 883 Views
  • 1 replies
  • 2 kudos
Latest Reply
Raman_Unifeye
Honored Contributor III
  • 2 kudos

As the dashboard uses System Tables (system.billing.usage) to show spend across Jobs, SQL, and Notebooks, I dont beleive it includes cloud provider VM costs.

  • 2 kudos
smoortema
by • Contributor
  • 6984 Views
  • 3 replies
  • 4 kudos

Resolved! how to know which join type was used (broadcast, shuffle hash or sort merge join) for a query?

What is the best way to know what kind of join was used for a SQL query between broadcast, shuffle hash and sort merge? How can the spark UI or the query plan be interpreted?

  • 6984 Views
  • 3 replies
  • 4 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 4 kudos

@smoortema , Spark performance tuning is one of the hardest topics to teach or learn, and it’s even tougher to do justice to in a forum thread. That said, I’m really glad to see you asking the question. Tuning is challenging precisely because there a...

  • 4 kudos
2 More Replies
mits1
by • New Contributor III
  • 1156 Views
  • 2 replies
  • 1 kudos

Resolved! Unable to navigate/login to Databricks Account Console

Hi,I have deployed Azure Databricks using email id (say xx@gmail.com) and able to lauch a workspace.When I  try to access account console, it throws below errorSelected user account does not exist in tenant 'Microsoft Services' and cannot access the ...

  • 1156 Views
  • 2 replies
  • 1 kudos
Latest Reply
Raman_Unifeye
Honored Contributor III
  • 1 kudos

And old link but still relevant - https://github.com/cloudboxacademy/azure_databricks_course/blob/main/known-issues/unable-to-login-to-azure-databricks-account-console.md

  • 1 kudos
1 More Replies
mh2587
by • Databricks Partner
  • 5510 Views
  • 1 replies
  • 1 kudos

Managing PCI-DSS Compliance and Access to Serverless Features in Azure Databricks

Hello Databricks CommunityI am currently using Azure Databricks with PCI-DSS compliance enabled in our workspace, as maintaining stringent security standards is crucial for our organization. However, I've discovered that once PCI-DSS compliance is tu...

  • 5510 Views
  • 1 replies
  • 1 kudos
Latest Reply
mark_ott
Databricks Employee
  • 1 kudos

Once PCI-DSS compliance is enabled in Azure Databricks, the workspace is locked into a set of restrictions to maintain those standards and safeguard sensitive data. These restrictions include disabling access to features like serverless compute, whic...

  • 1 kudos
Zbyszek
by • New Contributor II
  • 1507 Views
  • 2 replies
  • 1 kudos

Resolved! Create a Hudi table with Databrick 17

Hi I'm trying to run my existing code which has worked on the older DB version.CREATE TABLE IF NOT EXISTS catalog.demo.ABTHudi USING org.apache.hudi.Spark3DefaultSource OPTIONS ('primaryKey' = 'ID','hoodie.table.name' = 'ABTHudi') AS SELECT * FROM pa...

  • 1507 Views
  • 2 replies
  • 1 kudos
Latest Reply
Zbyszek
New Contributor II
  • 1 kudos

Thank You for your response, I will wait for more updates on that.RegardsZiggy 

  • 1 kudos
1 More Replies
Nes_Hdr
by • New Contributor III
  • 8943 Views
  • 3 replies
  • 0 kudos

Path based access not supported for tables with row filters?

Hello,  I have encountered an issue recently and was not able to find a solution yet. I have a job on databricks that creates a table using dbt (dbt-databricks>=1.0.0,<2.0.0). I am setting the location_root configuration so that this table is externa...

Data Engineering
dbt
row_filter
  • 8943 Views
  • 3 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

This issue occurs because Databricks does not support applying row filters or column masks to external tables when path-based access is used. While you are able to set the row filter policy on your table with no immediate error, the limitation only b...

  • 0 kudos
2 More Replies
Harun
by • Honored Contributor
  • 5619 Views
  • 1 replies
  • 1 kudos

Inquiry Regarding Serverless Compute Operations After Cloud Account Suspension

Hello Everyone,I am currently benchmarking the new serverless compute feature and have observed an unexpected behavior under specific circumstances. During my benchmarking process, I executed two notebooks: one utilizing serverless compute and the ot...

Harun_0-1723183858489.png Harun_1-1723183868878.png
  • 5619 Views
  • 1 replies
  • 1 kudos
Latest Reply
mark_ott
Databricks Employee
  • 1 kudos

Serverless compute resources in Azure Databricks and Azure SQL can operate independently of your cloud subscription state because they are fully managed, abstracted services that run on infrastructure controlled by Azure rather than your own cloud ac...

  • 1 kudos
databricks8923
by • New Contributor
  • 5171 Views
  • 1 replies
  • 0 kudos

DLT Pipeline, Autoloader, Streaming Query Exception: Could not find ADLS Gen2 Token

I have set up autoloader to form a streaming table in my DLT pipeline,  import dlt@dlt.tabledef streamFiles_new():        return (            spark.readStream.format("cloudFiles")                .option("cloudFiles.format", "json")                .op...

  • 5171 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Your error suggests that while your DLT pipeline works for materialized views (batch reads), switching to a streaming table using Autoloader (readStream) is triggering an ADLS Gen2 authentication failure, specifically "Could not find ADLS Gen2 Token"...

  • 0 kudos
Julien_Kronegg
by • New Contributor
  • 5666 Views
  • 1 replies
  • 0 kudos

Cannot use Delta Table columns containing struct with date fields in Power BI

Hi everyone,I have a Delta Table in Databricks with a column of struct type (containing a field of type date) and a column of type date:create table date_struct (s struct<d:date>, d date, s_json string); insert into date_struct (s, d, s_json) values ...

  • 5666 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

To access the s.d field from your Delta table in Power BI, you need the content of the s column to be correctly formatted as JSON so that Power BI's Json.Document() function can parse it. Your issue arises because the default string representation of...

  • 0 kudos
Labels