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
  • 3077 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
  • 3077 Views
  • 0 replies
  • 0 kudos
tawarity
by New Contributor II
  • 9201 Views
  • 3 replies
  • 0 kudos

Python Requests Library Error ImportHookFinder.find_spec()

Hi All,I've been using notebooks to run patch requests to an external API using the Python requests library. Often times certain notebooks will randomly start to fail throughout the day and will raise a ImportHookFinder.find_spec() error when attempt...

  • 9201 Views
  • 3 replies
  • 0 kudos
Latest Reply
ChrisLawford_n1
Contributor
  • 0 kudos

Hey, Did you manage to solve this issue? I am experiencing the same error but under a different context of using pytest in a notebook.My scenario:import pytest import os import sys os.chdir(f'/Workspace/Shared/DataTechnology-Databricks-Core') # Skip...

  • 0 kudos
2 More Replies
vijamit
by New Contributor
  • 407 Views
  • 2 replies
  • 0 kudos

Photon running out of memory error while executing SQL on SQL Serverless warehouse

Photon ran out of memory while executing this query. Photon failed to reserve 32.0 KiB for BufferPool, in BroadcastBufferedRelation(spark_plan_id=13407). Memory usage: Total task memory (including non-Photon): 1829.7 MiB BroadcastBufferedRelation(spa...

  • 407 Views
  • 2 replies
  • 0 kudos
Latest Reply
Khaja_Zaffer
Contributor III
  • 0 kudos

Hello @vijamit Good day!!It was very hard to analyise the error but : The causes for the error shared are : Your query has run out of memory during execution, specifically when using the BuildHashedRelation and PartitionedRelation functions.Running o...

  • 0 kudos
1 More Replies
jtbing
by New Contributor
  • 828 Views
  • 2 replies
  • 3 kudos

Adding Tags to Saved Queries inNew SQL Editor

Using the old SQL editor, there was an option to add tags to saved queries under the "edit query info" option shown in the screenshots. Since starting to use the new editor, I noticed that option has disappeared from its previous location and I haven...

  • 828 Views
  • 2 replies
  • 3 kudos
Latest Reply
Advika
Databricks Employee
  • 3 kudos

Hello @jtbing!At the moment, adding or editing tags for saved queries isn’t available in the new SQL editor UI. There’s also an upcoming Bricktalks session with the Product Manager for Databricks SQL, introducing the new SQL editor; you may find it u...

  • 3 kudos
1 More Replies
rnai369
by New Contributor III
  • 1625 Views
  • 6 replies
  • 3 kudos

Resolved! Unable to create SQL warehouse

Hi All,I am getting below message when hovering on the Create SQL warehouse. I can only see the Serverless Starter Warehouse compute.You have reached the maximum number of SQL warehouses. Delete an existing warehouse to create new one.Regards,RN 

  • 1625 Views
  • 6 replies
  • 3 kudos
Latest Reply
rnai369
New Contributor III
  • 3 kudos

Thanks to all for your support.

  • 3 kudos
5 More Replies
deepakharin
by New Contributor
  • 547 Views
  • 3 replies
  • 0 kudos

Notebook using Assistant

I want to create notebooks for creating and accessing lakehouse . But I want it to be created using the assistant. Do we have a step by step guide to do it?

  • 547 Views
  • 3 replies
  • 0 kudos
Latest Reply
SebastianRowan
Contributor
  • 0 kudos

Open the assistant and ask it to spin up a lakehouse notebook and it should drop in the code you can run right away to connect and explore.  If you're thinking to download the notebook, make you download it in pdf format and rename it after download ...

  • 0 kudos
2 More Replies
dylan19
by New Contributor II
  • 498 Views
  • 3 replies
  • 0 kudos

How to open a SQL Warehouse query in SQL Warehouse?

How can you control whether a file is a Notebook or a Query?  Long story short - can you do anything to make Databricks recognise a .dbquery.ipynb file as a query and open it in SQL Warehouse?I created a file in my git folder as a query.  All good.  ...

  • 498 Views
  • 3 replies
  • 0 kudos
Latest Reply
Khaja_Zaffer
Contributor III
  • 0 kudos

Hello @dylan19 Good day!!Thats very frustrating! well just to check Did you change the .dbquery.ipynb file to a .sql file in your Git repository. For example, extract the SQL content from the .ipynb file (a JSON format) and saved it as plain text in ...

  • 0 kudos
2 More Replies
gmont4m
by New Contributor
  • 364 Views
  • 1 replies
  • 1 kudos

Shared Compute - sys path not working

We were working with Python scripts on serverless (Git folder). The following code worked when we were calling on custom modules in sitting in the python scripts (eg. preprocess data from preprocessing.py). We've moved to shared compute but can no lo...

  • 364 Views
  • 1 replies
  • 1 kudos
Latest Reply
nayan_wylde
Esteemed Contributor
  • 1 kudos

It seems you are using a workspace path. To confirm are you using a dedicated compute with access provided to a group. You need to provide can mange access to workspace path to the group.

  • 1 kudos
Andrea_
by New Contributor
  • 346 Views
  • 1 replies
  • 0 kudos

Change the default font for plots

Hi community, As the title says, I have been checking the documentation, but I could not find clear references to my question.I am working in a project, and I need to change all the plots fonts to match a specific brand. All plots are generated with ...

  • 346 Views
  • 1 replies
  • 0 kudos
Latest Reply
SebastianRowan
Contributor
  • 0 kudos

Set plt.rcParams['font.family'] = 'YourBrandFontName' at the start and all your plots will follow that font automatically, most probably.

  • 0 kudos
Akshay_Petkar
by Valued Contributor
  • 4565 Views
  • 9 replies
  • 2 kudos

How to Display Top Categories in Databricks AI/BI Dashboard?

In a Databricks AI/BI dashboard, I have a field with multiple categories (e.g., district-wise sales with 50 districts). How can I display only the top few categories (like the top 10) based on a specific metric such as sales?

  • 4565 Views
  • 9 replies
  • 2 kudos
Latest Reply
BS_THE_ANALYST
Esteemed Contributor II
  • 2 kudos

@GunaR is this not where we'd want to leverage a parameter? And then pair this with a filter on the dashboard? Perhaps you create an aggregate SQL query for the various metrics If you can't use a parameter in the ORDER BY clause, which you likely can...

  • 2 kudos
8 More Replies
excavator-matt
by Contributor
  • 902 Views
  • 2 replies
  • 2 kudos

Resolved! Strange selection of districts for Finland in choropleth visualisation. Something to reconsider?

Hi!We're trying to use the choropleth visualisation in the new dashboard. This works well for all countries we tried except for district level of Finland.The supported districts are clearly stated in the CSV on the documentation page titled county-di...

Warehousing & Analytics
choropleth
dashboard
districts
finland
  • 902 Views
  • 2 replies
  • 2 kudos
Latest Reply
Alex_Lichen
Databricks Employee
  • 2 kudos

Hi Matt,   You are correct that today, the Choropleth maps are using sub-regions as defined in https://en.wikipedia.org/wiki/Sub-regions_of_Finland. We are currently getting these boundaries from Mapbox, which provides this boundary data.   Definitel...

  • 2 kudos
1 More Replies
eliles
by New Contributor
  • 382 Views
  • 1 replies
  • 0 kudos

Dashboard default date format changed from YYYY-MM-DD to DD/MM/YYYY

I noticed a change in date formatting behavior in my dashboards starting yesterday.Details:My Workspace Setting: Default date format is set to YYYY-MM-DD (confirmed in user settings)Issue: Any new date fields added to dashboards are defaulting to DD/...

  • 382 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @eliles ,You can check dashboard settings. From there you can change locale configuration, i.e set number and date formatting standards based on geographic or cultural preferencesDashboard settings - Azure Databricks | Microsoft Learn

  • 0 kudos
Pilsner
by Contributor III
  • 1210 Views
  • 3 replies
  • 4 kudos

Resolved! Fabric one lake migration

We are trying to migrate our data from Fabric One Lake to the unity catalogue. Has anyone had experience with this before? Any pointers/ things to be aware of would be appreciated.

  • 1210 Views
  • 3 replies
  • 4 kudos
Latest Reply
Pilsner
Contributor III
  • 4 kudos

Hello @SP_6721 and  @nayan_wylde  Thank you both for your replies, I appreciate the pointers. I'll definitely look into your suggestions of creating an intermediate step instead of migrating directly from Fabric to databricks. 

  • 4 kudos
2 More Replies
rathorer
by New Contributor III
  • 930 Views
  • 0 replies
  • 0 kudos

Building Data Models on Databricks Platform

It will describe about Data models and how to build them on Databricks Platform, especially will Data vault and Data Mesh.Data VaultWhat is Data vault?Data Vault is a modern data modeling technique designed for agile, scalable, and auditable enterpri...

rathorer_0-1753270638873.png rathorer_15-1753272761286.png rathorer_16-1753272771387.png rathorer_18-1753272935114.png
  • 930 Views
  • 0 replies
  • 0 kudos
AE10
by New Contributor III
  • 3579 Views
  • 5 replies
  • 12 kudos

Embed dashboards in websites and applications

I am embedding a dashboard in my react application using an iframe.https://www.databricks.com/blog/how-embed-aibi-dashboards-your-websites-and-applicationshttps://docs.databricks.com/en/dashboards/index.html#embed-a-dashboard1. How can i let my users...

  • 3579 Views
  • 5 replies
  • 12 kudos
Latest Reply
Preeti_Singh
New Contributor II
  • 12 kudos

Hi , Has anyone gotten this working? I am facing the same issue when trying to get the embedded URL working from an iframe in my React application. I think I have all the necessary permissions in place, but still, the Databricks sign-in page opens in...

  • 12 kudos
4 More Replies
Pilsner
by Contributor III
  • 966 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...

  • 966 Views
  • 1 replies
  • 1 kudos
Latest Reply
Louis_Frolio
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