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
  • 2709 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
  • 2709 Views
  • 0 replies
  • 0 kudos
Pilsner
by Contributor
  • 567 Views
  • 1 replies
  • 1 kudos

External connection to hive metastore

Hello,We are currently having an issue writing tables to the hive metastore. I've tried to outline what we know/have tried so far, below:Known situation:We have a databricks environment but it does not currently use Unity Catalogue. We instead have a...

  • 567 Views
  • 1 replies
  • 1 kudos
Latest Reply
BigRoux
Databricks Employee
  • 1 kudos

Here are some recommendations and tips/tricks:     1. Understanding the Architecture & Common Issues In legacy Databricks setups, the Hive Metastore is used to manage tables and their metadata. When writing via ODBC (using the Simba Spark driver) or ...

  • 1 kudos
Olfa_Kamli
by New Contributor III
  • 845 Views
  • 3 replies
  • 3 kudos

Resolved! Unable to create Databricks SQL Endpoint using Terraform Clusters failing to launch

Hi All I'm trying to create a Databricks SQL Endpoint using Terraform with the following resource configuration:resource "databricks_sql_endpoint" "dataproduct_sql_endpoint" { provider = databricks.workspace name ...

Warehousing & Analytics
SQl endpoint
Terraform
warehouse
  • 845 Views
  • 3 replies
  • 3 kudos
Latest Reply
Olfa_Kamli
New Contributor III
  • 3 kudos

@SP_6721just a quick heads-up, this is all sorted now. Turns out the compute (warehouse) was just missing a tag. Added it, and everything started working as expected! Thank u !! 

  • 3 kudos
2 More Replies
Sitharth
by New Contributor II
  • 526 Views
  • 2 replies
  • 3 kudos

Error: QUERY_RESULT_WRITE_TO_CLOUD_STORE_FAILED when querying system tables via Databricks dashboard

Hi Team,I'm encountering the following error when running queries on system tables through a Databricks dashboard using a Serverless SQL Warehouse:[QUERY_RESULT_WRITE_TO_CLOUD_STORE_FAILED] An internal error occurred while uploading the result set to...

  • 526 Views
  • 2 replies
  • 3 kudos
Latest Reply
Khaja_Zaffer
Contributor
  • 3 kudos

Hello @Sitharth Good dayI think the cause would be this: By default, containers are missing from the databricks managed storage accountResolution: you need to create new workspace With this we can close the case. 

  • 3 kudos
1 More Replies
omjohn
by New Contributor
  • 1102 Views
  • 1 replies
  • 0 kudos

Sparklyr error in spark_apply: Error: java.lang.NoSuchMethodError

When trying incorporate an R package into my Spark workflow using the spark_apply() funciton in Sparklyr, I get the error:Error: java.lang.NoSuchMethodError: org.apache.spark.sql.catalyst.encoders.RowEncoder$.apply(Lorg/apache/spark/sql/types/StructT...

  • 1102 Views
  • 1 replies
  • 0 kudos
Latest Reply
Vidhi_Khaitan
Databricks Employee
  • 0 kudos

Hi @omjohn Can you try downgrading to a Databricks Runtime 13.3 LTS, which uses Spark 3.4.x, officially supported by sparklyr 1.8.1. I believe it would provide a more stable and better-tested integration.

  • 0 kudos
DM3910
by New Contributor
  • 566 Views
  • 1 replies
  • 1 kudos

How to Replicate unity catalog and workspaces from region to another in databricks

I have the need to replicate existing unity catalog and workspaces from one region to another in databricks. Need help in understanding the different ways in which it can be done

  • 566 Views
  • 1 replies
  • 1 kudos
Latest Reply
TheOC
Contributor
  • 1 kudos

Hey @DM3910 ,It may not be exactly what you need but there is some information in this article around cross-region/platform sharing:https://docs.databricks.com/aws/en/data-governance/unity-catalog/best-practices#cross-region-and-cross-platform-sharin...

  • 1 kudos
Shivla
by New Contributor
  • 230 Views
  • 1 replies
  • 0 kudos

Issues with Importing Visuals From SQL Editor to Dashbaord

Hello,I'm fairly new to databricks, and wanted to play around with creating dashboards similar to ones I've done in Tableau. With the genie being limited at times in graphs it can create, I used the SQL editor to get what I wanted; however, I'm havin...

Screenshot 2025-07-09 at 10.55.49 AM.png Screenshot 2025-07-09 at 10.55.29 AM.png
  • 230 Views
  • 1 replies
  • 0 kudos
Latest Reply
Advika
Databricks Employee
  • 0 kudos

Hello @Shivla! This issue might be related to how the region fields are configured in the choropleth map. If the same State column is assigned to both the Country and State/Province fields, the map may not load properly. Try assigning the state colum...

  • 0 kudos
Amit-Kumar
by New Contributor II
  • 691 Views
  • 2 replies
  • 4 kudos

Embed AI/BI dashboard on a website asks for login

It is disappointing to see that Databricks is quite at a premature stage and has just marketed the product, but the features are not ready to use yet.Our requirement is fairly straightforward: to create an AI/BI dashboard in Databricks, publish and e...

  • 691 Views
  • 2 replies
  • 4 kudos
Latest Reply
Sharanya13
Contributor III
  • 4 kudos

Hi @Amit-Kumar Have you considered consumer access? If your users are internal users, you can onboard them as workspace users and provision a read-only access to dashboards and Genie. Alternatively, you could use embedded credentials approach for acc...

  • 4 kudos
1 More Replies
rakeshsekar2025
by New Contributor III
  • 596 Views
  • 4 replies
  • 1 kudos

Azure Databrick Dashboards selection does not work even though data filter selection is visible

The data selection is part of loaded data if I want to filter out the data I'm not able to filter it out I believe this is glitch in the data bricks dashboard UI 

Untitled.png
  • 596 Views
  • 4 replies
  • 1 kudos
Latest Reply
rakeshsekar2025
New Contributor III
  • 1 kudos

This is parameter input to the databricks sql query 

  • 1 kudos
3 More Replies
data-grassroots
by New Contributor III
  • 775 Views
  • 1 replies
  • 1 kudos

Python UDTF

Attempting to create a Python UDF and receiving an error stating it's not supported in my environment.running on SQL Serverless Cluster - Preview (v 2025.16)[FEATURE UNAVAILABLE]Python UDTF is not supported in your environment. To use this feature, p...

  • 775 Views
  • 1 replies
  • 1 kudos
Latest Reply
nayan_wylde
Honored Contributor
  • 1 kudos

Currently Serverless supports only scaler valued function not table valued function. also you need to provide the catalog and schema in the function.You can create using a pro computecreate function {catalog_name}.{schema_name}._rrr_taxonomy_test()RE...

  • 1 kudos
Malthe
by Contributor
  • 487 Views
  • 2 replies
  • 0 kudos

Online Table pricing for infrequent use

According to the pricing page, the minimum cost in using this product is 1 DBU per hour.Often times, access to such tables comes in bursts with many periods of idle time. How is infrequent use factored into the pricing? This is also important for set...

  • 487 Views
  • 2 replies
  • 0 kudos
Latest Reply
Malthe
Contributor
  • 0 kudos

As far as I can tell, the minimum charge for an online table is DBU-cost x 24 x 30 per month, i.e. around $720 per month.Is the 15-minute scale-down window documented somewhere?With a 15-minute scale-down window, assuming just one access per hour, th...

  • 0 kudos
1 More Replies
kevin11
by Contributor III
  • 460 Views
  • 1 replies
  • 2 kudos

Genie room not in lineage

Hello,We recently modified some table names and used the UC Lineage to identify the users that were accessing these particular tables to notify. However, it seems we broke our Genie Space that was using that table. As best as I can tell, queries from...

  • 460 Views
  • 1 replies
  • 2 kudos
Latest Reply
saurabh18cs
Honored Contributor
  • 2 kudos

As of now, system tables like information_schema.table_usage or query_history do not log Genie Space queries. They primarily log interactive and scheduled queries from notebooks, dashboards, and the SQL editor.you will need to rely on Genie configura...

  • 2 kudos
julianner
by New Contributor II
  • 538 Views
  • 2 replies
  • 0 kudos

Internal Error During Spark SQL Phase Optimization – Possible Bug in Spark/Databricks Runtime

Bug SummaryTitle: Spark SQL internal error when executing SQL code in the Azure Databricks SQL Editor  DescriptionWhen executing SQL code in the Azure Databricks SQL Editor, a Spark SQL internal error is returned.  Steps to ReproduceCopy and paste th...

julianner_0-1750662110562.png
  • 538 Views
  • 2 replies
  • 0 kudos
Latest Reply
saurabh18cs
Honored Contributor
  • 0 kudos

Check Databricks runtime version:If possible, upgrade to the latest Databricks runtime, as internal errors are sometimes fixed in newer versions.

  • 0 kudos
1 More Replies
jakobhaggstrom
by New Contributor
  • 3537 Views
  • 3 replies
  • 0 kudos

Issue when using M2M authentication with azure databricks jdbc driver 2.7.1

Hi!I try to connect to an azure databricks sql warehouse in dbeaver, which uses the azure databricks jdbc driver version 2.7.1 ## and I cannot get M2M authentication to work. I get a 'Not Authorized' (401) response when I try to connect, and it seems...

  • 3537 Views
  • 3 replies
  • 0 kudos
Latest Reply
gdo
New Contributor II
  • 0 kudos

Hey @jakobhaggstrom,It's possible to connect to DBX using an Azure service principal. You're just missing the OIDC URL in the JDBC driver's parameters.The OIDC discovery is enabled by default but you need to set its URL which contains your Azure tena...

  • 0 kudos
2 More Replies
meljung
by New Contributor II
  • 577 Views
  • 0 replies
  • 0 kudos

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
  • 577 Views
  • 0 replies
  • 0 kudos