cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MadelynM
by Databricks Employee
  • 2989 Views
  • 0 replies
  • 0 kudos

[Recap] Data + AI Summit 2024 - Warehousing & Analytics | Improve performance and increase insights

Here's your Data + AI Summit 2024 - Warehousing & Analytics recap as you use intelligent data warehousing to improve performance and increase your organization’s productivity with analytics, dashboards and insights.  Keynote: Data Warehouse presente...

Screenshot 2024-07-03 at 10.15.26 AM.png
Warehousing & Analytics
AI BI Dashboards
AI BI Genie
Databricks SQL
  • 2989 Views
  • 0 replies
  • 0 kudos
CEH
by New Contributor
  • 179 Views
  • 4 replies
  • 1 kudos

Union of tiny dataframes exhausts resource, memory error

As part of a function I create df1 and df2 and aim to stack them and output the results.  But the results do not display within the function, nor if I output the results and display after.results = df1.unionByName(df2, allowMissingColumns=False)displ...

  • 179 Views
  • 4 replies
  • 1 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 1 kudos

Hey @CEH, What you’re running into looks like a Spark Connect gRPC message-size limit, not a computational failure with the union itself. Even with smallish row counts, the serialized payload (either the inlined query plan or Arrow batch results) can...

  • 1 kudos
3 More Replies
loic
by Contributor
  • 802 Views
  • 2 replies
  • 0 kudos

Resolved! Databricks workspace default catalog not working anymore with JDBC driver

Hello,We recently detected an issue in our product deployment with terraform.At some point, we have some java code that creates a schema in "hive_metastore" catalog.Since "hive_metastore" catalog is the default one, there should not be any need to sp...

  • 802 Views
  • 2 replies
  • 0 kudos
Latest Reply
loic
Contributor
  • 0 kudos

The exact error reported by Databricks is:[RequestId=f27975cd-7589-4463-8c03-6015893ee133 ErrorClass=INVALID_PARAMETER_VALUE] Invalid input: RPC CreateSchema Field managedcatalog.SchemaInfo.catalog_name: name "" is not a valid name 

  • 0 kudos
1 More Replies
meljung
by New Contributor II
  • 737 Views
  • 1 replies
  • 0 kudos

Resolved! Moving average calculation in Databricks AI/BI dashboard

So, I can't figure out how to do moving average as custom calculation in Databricks dashboard. I'm applying many different filters and the denominator of the metric has to change dynamically based on the chosen filters. So, in this case using `Custom...

Screenshot 2025-06-17 134351.png
  • 737 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Currently, Databricks dashboards do not support applying a moving average “custom calculation” on top of another custom metric that itself is dynamic with respect to the filters. Workarounds Segmented SQL Datasets: Pre-compute the filtered sets (as ...

  • 0 kudos
der
by Contributor
  • 426 Views
  • 4 replies
  • 6 kudos

Resolved! Dashboard choropleth map with geometry

We are currently building our dashboards in Apache Superset. With the Git integration in Databricks AI/BI Dashboards, the development process has improved a lot. So we are thinking about switch to Databricks AI/BI Dashboard.One pain point in Databric...

  • 426 Views
  • 4 replies
  • 6 kudos
Latest Reply
NandiniN
Databricks Employee
  • 6 kudos

Closing the loop here: Update: The PMs are updated by me and are aware of the usecase and this request (it will help hasten priortization). Thanks! 

  • 6 kudos
3 More Replies
leo-machado
by New Contributor III
  • 3939 Views
  • 10 replies
  • 5 kudos

(Big) Problem with SQL Warehouse Auto stop

Long story short, I'm not sure if this is an already known problem, but the Auto Stop feature on SQL Warehouses after minutes of inactivity is not working properly.We started using SQL Warehouses more aggressively this December when we scaled up one ...

image (2).png Screenshot 2025-01-02 at 10.31.27.png
  • 3939 Views
  • 10 replies
  • 5 kudos
Latest Reply
HNguyen
New Contributor II
  • 5 kudos

This is a good catch. Auto termination is something you tend to set and trust it will do the right thing .Wondering if the Databricks team managed to fix this, seeing it has been half a year since the problem was raised.This is also important for ou...

  • 5 kudos
9 More Replies
mrp
by New Contributor
  • 714 Views
  • 3 replies
  • 2 kudos

Resolved! Lakebase Scale-to-Zero Behavior: Automatic or Application-Controlled?

Hi all,Lakebase is currently advertised as a database system that can scale down to zero:https://www.databricks.com/blog/what-is-a-lakebaseDoes anyone know if this scale-to-zero behavior is handled automatically by Databricks when the database is idl...

  • 714 Views
  • 3 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

Hey @mrp ,Some features of Lakebase are still in public preview, so not all functionality is available yet. @ilorus  is correct that “scale to zero” is not currently part of the product. However, it is on the roadmap and should be available early nex...

  • 2 kudos
2 More Replies
yshah
by New Contributor II
  • 441 Views
  • 3 replies
  • 2 kudos

Resolved! Behaviour of ANALYZE command varying when using different clusters and table types.

Certain tables have this configuration enabled, whereas others do not have it.Delta.checkpointPolicy=v2This is affecting the behavior of the ANALYZE commandIf flag is enabled : Table stats are not visible after doing the DESCRIBE command using SINGLE...

  • 441 Views
  • 3 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

Greetings @yshah , here are some helpful hints/tips/tricks to guide you. To access table column statistics when checkpoint V2 is enabled, you can follow these guidelines: Utilize Databricks Runtime 13.3 LTS or Higher: Ensure that you are using Datab...

  • 2 kudos
2 More Replies
BillSundwall
by New Contributor II
  • 2303 Views
  • 4 replies
  • 3 kudos

Resolved! Maps in AI/BI Dashboards?

Is there any official word as to when we can expect Chloropleth or Marker Map visuals in AI/BI Dashboards? I realize Legacy Dashboards are still supported, but it feels uncertain to build new ones with AI/BI Dashboards in GA.

  • 2303 Views
  • 4 replies
  • 3 kudos
Latest Reply
NandiniN
Databricks Employee
  • 3 kudos

Choropleth Maps - https://docs.databricks.com/aws/en/dashboards/visualizations/maps#choropleth-options

  • 3 kudos
3 More Replies
Shivaprasad
by New Contributor III
  • 248 Views
  • 1 replies
  • 1 kudos

Commentary functionality through Databricks

In on-Prem we currently create dashboards which basically provides year over year or quarter over quarter comparison. When the variance is more than certain threshold for a particular data intersection business has the option to add comments, also so...

  • 248 Views
  • 1 replies
  • 1 kudos
Latest Reply
nayan_wylde
Honored Contributor III
  • 1 kudos

There is no inbuilt features to built-in “commentary workflow” like your Java app. But you can custom build one. Here are the steps to build one.1.  Use Databricks SQL Dashboards or Lakeview Dashboards for your YoY/QoQ variance analysis.2. Create a D...

  • 1 kudos
alexw4561
by New Contributor
  • 283 Views
  • 3 replies
  • 2 kudos

For sql classic, does number of driver also increase when auto scaled up?

I know for spark clusters, the number of driver will remain the same and only the number of workers increases when auto scaling. But for sql classic warehouse I'm a bit confused, since it's scaling number of cluster not driver.

  • 283 Views
  • 3 replies
  • 2 kudos
Latest Reply
nayan_wylde
Honored Contributor III
  • 2 kudos

SQL Classic Warehouses:Scaling is done by adding or removing entire clusters, not just workers.Each cluster has its own driver and set of workers.So when autoscaling happens, more clusters (each with a driver + workers) are added to handle concurrent...

  • 2 kudos
2 More Replies
johnv
by New Contributor II
  • 612 Views
  • 2 replies
  • 2 kudos

Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works locall

Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works locally. First Databricks App I've attempted to create.  Symptoms:Local Streamlit app works fine with Databricks SQL connectorDeployed Databricks App hangs ...

  • 612 Views
  • 2 replies
  • 2 kudos
Latest Reply
jamesl
Databricks Employee
  • 2 kudos

Hi @johnv,  Do you have any error messages you can share, or is it a silent connection timeout? I assume you confirmed that the SQL Warehouse had started up? (they can take several minutes to start up sometimes) If that's not the issue, you could al...

  • 2 kudos
1 More Replies
genebaldorios
by New Contributor II
  • 497 Views
  • 2 replies
  • 0 kudos

Resolved! custom calculation of percentage of total and cumulative percentage

Is there a way to calculate the percentage of total using the Databricks dashboard's custom calculations and also the cumulative percentage? What function would be equivalent to the DAX All and AllSelect functions, but using Databricks' aggregation f...

  • 497 Views
  • 2 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @genebaldorios ,I don't use databricks dashboards on my project (we are PBI shop), but I guess you need to use AGGREGATE OVER clause with cumulative frame: 

  • 0 kudos
1 More Replies
lennox1
by New Contributor II
  • 453 Views
  • 1 replies
  • 2 kudos

Databricks AI/BI Dashboard cross-filtering across different dataset

Hello Everyone,I recently started using AI/BI dashboard and I'm finding it difficult to cross-filter two visuals from two different dataset. Visual 1 displays Sales by region (month to date) sourced from dataset 1 and Visual 2 displays Open orders by...

  • 453 Views
  • 1 replies
  • 2 kudos
Latest Reply
BS_THE_ANALYST
Esteemed Contributor II
  • 2 kudos

@lennox1 I've just gave this a try and didn't have much luck for cross-filter across multiple datasets. The documentation seems to indicate the same thing: https://learn.microsoft.com/en-us/azure/databricks/dashboards/#cross-filter I scanned the rele...

  • 2 kudos
Unimog
by New Contributor III
  • 471 Views
  • 2 replies
  • 1 kudos

Resolved! Choropleth Maps Stopped Working

I have a Databricks Dashboard that contains several choropleth maps.  They all stopped working today.  I can see a background image, but no data is represented on them.  The dataset seems ok and the visualizations don't show any errors.  I don't see ...

  • 471 Views
  • 2 replies
  • 1 kudos
Latest Reply
Advika
Databricks Employee
  • 1 kudos

Glad to hear you figured it out. Appreciate you updating the thread with the fix, @Unimog!

  • 1 kudos
1 More Replies
vidya_kothavale
by Contributor
  • 2953 Views
  • 4 replies
  • 3 kudos

Resolved! Issue with MongoDB Spark Connector in Databricks

 I followed the official Databricks documentation("https://docs.databricks.com/en/_extras/notebooks/source/mongodb.html")to integrate MongoDB Atlas with Spark by setting up the MongoDB Spark Connector and configuring the connection string in my Datab...

  • 2953 Views
  • 4 replies
  • 3 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 3 kudos

Hi @vidya_kothavale ,Could you try to change "spark.mongodb.input.uri" to following?spark.read.format("mongodb").option("spark.mongodb.read.connection.uri" 

  • 3 kudos
3 More Replies