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
  • 2913 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
  • 2913 Views
  • 0 replies
  • 0 kudos
larsbbb
by New Contributor III
  • 699 Views
  • 2 replies
  • 3 kudos

Unable to create serverless warehouse

We are unable to create a Serverless Warehouse Cluster at our own databricks workspace. The same settings do work on other Azure tenants that I have access to.The workspace is running in Azure on a Premium Plan in West Europe.Features enabled:Automat...

larsbbb_2-1738837572271.png larsbbb_3-1738837675322.png larsbbb_4-1738837733428.png larsbbb_5-1738837821146.png
  • 699 Views
  • 2 replies
  • 3 kudos
Latest Reply
Walter_C
Databricks Employee
  • 3 kudos

Was this workspace moved to Premium plan recently or have been Premium since creation?

  • 3 kudos
1 More Replies
HeathDG1
by New Contributor II
  • 829 Views
  • 1 replies
  • 0 kudos

Row filtering based on condition not working

Hi-We have a delta table in our unity catalog called dream_team.stern_portfolio.location_info.We are trying to use row level security to filter our data based on a users group membership. This way when users look at out dashboard they can only see th...

  • 829 Views
  • 1 replies
  • 0 kudos
Latest Reply
Isi
Honored Contributor II
  • 0 kudos

Hey @HeathDG1 I think your function isn’t behaving the way you expect because of how the logic is set up:•If the user is in Stern MA, they only see rows where state = 'MA'  (which is good).•BUT for everyone else, the function returns true, meaning th...

  • 0 kudos
fishingrod
by New Contributor II
  • 1167 Views
  • 3 replies
  • 0 kudos

How to implement automatic scaling of cluster size in Serverless Warehouse

I would like to know if the cluster size of a Serverless Warehouse can automatically scale up and down, and what determines the number of workers used when executing queries. Does it use all workers within the cluster size fixedly, or does it use par...

  • 1167 Views
  • 3 replies
  • 0 kudos
Latest Reply
Takuya-Omi
Valued Contributor III
  • 0 kudos

@fishingrod My understanding is that Intelligent Workload Management (IWM) in Serverless SQL Warehouses adjusts the number of clusters, but it does not automatically scale the cluster size.This means that if you need to improve the execution performa...

  • 0 kudos
2 More Replies
THIAM_HUATTAN
by Valued Contributor
  • 2992 Views
  • 3 replies
  • 0 kudos

Visualization from Python dataframe?

I notice it is very easily to get visualization from sql language inside Databricks. Say you run a SQL query which gives you a table, and you can easily use that table to do its visualization in terms of plots.   How about in Python language when we ...

  • 2992 Views
  • 3 replies
  • 0 kudos
Latest Reply
KenChase99
New Contributor II
  • 0 kudos

 Yes! You can visualize a Python DataFrame in Databricks easily using: display(df)This works like SQL visualizations, offering built-in charts. For more customization, Matplotlib, Seaborn, or Plotly can be used. Would love to see even more native sup...

  • 0 kudos
2 More Replies
nirquant
by New Contributor
  • 2973 Views
  • 0 replies
  • 0 kudos

VS Code Extension Sync Destination Changed Unexpectedly

I recently updated my Databricks VS Code extension from version 1.4.0 to 2.4.0. After the update, I noticed that:The "Configure Sync Destination" button is missing.The sync destination format has changed to a remote folder instead of the previous set...

  • 2973 Views
  • 0 replies
  • 0 kudos
Akshay_Petkar
by Contributor III
  • 914 Views
  • 1 replies
  • 0 kudos

How to get the size of selected rows in bytes using a single SQL query?

Hi all,I have a table named employee in Databricks. I ran the following query to filter out rows where the salary is greater than 25000.This query returns 10 rows. I want to find the size of these 10 rows in bytes, and I would like to calculate or re...

  • 914 Views
  • 1 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @Akshay_Petkar, You can try with this query: SELECT SUM(LENGTH(CAST(employee.* AS STRING))) AS total_size_in_bytesFROM employeeWHERE salary > 25000;

  • 0 kudos
vidya_kothavale
by Contributor
  • 1690 Views
  • 1 replies
  • 1 kudos

Resolved! Insufficient Permissions Error When Reading Data from S3 in Shared Databricks Compute

I am using a Shared Databricks Compute and trying to read data from an S3 bucket via an Instance Profile. However, I am encountering the following error: [INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have permission SELECT on any ...

  • 1690 Views
  • 1 replies
  • 1 kudos
Latest Reply
Ayushi_Suthar
Databricks Employee
  • 1 kudos

Hi @vidya_kothavale , Greetings! Can you please refer to this article and check if it helps you to resolve your issue : https://kb.databricks.com/en_US/data/user-does-not-have-permission-select-on-any-file Please note that these permissions are only ...

  • 1 kudos
Akshay_Petkar
by Contributor III
  • 1005 Views
  • 2 replies
  • 1 kudos

Databricks Dashboard Not Refreshing as per Schedule (Per Minute)

I have created a Ai/Bi dashboard on Databricks and set it to refresh every 1 minute. However, the dashboard is not refreshing as expected. Interestingly, when I terminate the warehouse, it triggers the warehouse but still does not refresh per minute ...

  • 1005 Views
  • 2 replies
  • 1 kudos
Latest Reply
Akshay_Petkar
Contributor III
  • 1 kudos

Hi @Alberto_Umana ,I have followed the correct approach to create and schedule the dashboard for a 1-minute refresh, but it's not updating every minute as expected.I have attached images for your reference. Please take a look.

  • 1 kudos
1 More Replies
onlyme
by New Contributor II
  • 858 Views
  • 2 replies
  • 1 kudos

Resolved! Actions for warehouse channel update

Hello Let's say I create a SQL Warehouse on Current Channel (2024.40) and there is a new release (2024.50).Would I need to take some actions(reboot for example) so that my warehouse uses the 2024.50 version or it should run on the 2024.50 whenever th...

  • 858 Views
  • 2 replies
  • 1 kudos
Latest Reply
Isi
Honored Contributor II
  • 1 kudos

Hey @onlyme ,The Channel in Databricks SQL Warehouse has two options:1.Current: This corresponds to the latest stable version released by Databricks and updates automatically.2.Preview: Similar to a beta version, it includes improvements and new feat...

  • 1 kudos
1 More Replies
GarCab
by New Contributor
  • 1535 Views
  • 1 replies
  • 0 kudos

Databricks connectivity issue with PBI service

Hello everyone,I created a report using PowerBI Desktop that I successfully connected to Databricks. However, in PBI Service, the visuals are not displayed and I'm asked to edit credentials of the semantic model. When doing so, I get the following er...

  • 1535 Views
  • 1 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @GarCab, Can you try with a PAT token, just to confirm it works? https://learn.microsoft.com/en-us/azure/databricks/partners/bi/power-bi#connect-power-bi-desktop-to-azure-databricks

  • 0 kudos
Hania__b
by New Contributor II
  • 1608 Views
  • 3 replies
  • 2 kudos

Resolved! Access specific input item of For Each Tasks

Hi,I think I have a similar issue to the one in this post, but the answer isn't detailed enough for me.I have a list defined in my first task, which contains the items I want to iterate through [1,2,3,4]. When I use it as Inputs to the For Each frami...

  • 1608 Views
  • 3 replies
  • 2 kudos
Latest Reply
Hania__b
New Contributor II
  • 2 kudos

Thank you both very much, I've nailed it . I have accepted Walter_C's answer as solution because Step 2 is what I was missing. Thanks MariuszK as well for your contribution.

  • 2 kudos
2 More Replies
NS2
by New Contributor II
  • 1159 Views
  • 3 replies
  • 3 kudos

Resolved! Databricks SQL connector for python

For Databricks SQL connector for python, the list of fields returned by Cursor.columns() is listed in here (like TABLE_CAT,  TABLE_SCHEM, TABLE_NAME,  COLUMN_NAME). Could someone please share an exhaustive list of fields (including short description ...

  • 1159 Views
  • 3 replies
  • 3 kudos
Latest Reply
Satyadeepak
Databricks Employee
  • 3 kudos

All those fields are explained in the doc. For example search with `TABLE_CAT`

  • 3 kudos
2 More Replies
boitumelodikoko
by Contributor III
  • 3248 Views
  • 9 replies
  • 6 kudos

Resolved! Assistance Needed: Issues with Databricks SQL Queries and Performance

Hi everyone,I hope you're all doing well.I'm experiencing some challenges with Databricks SQL, and I wanted to reach out to see if others have encountered similar issues or have suggestions for troubleshooting. Below is a summary of the problems I'm ...

  • 3248 Views
  • 9 replies
  • 6 kudos
Latest Reply
boitumelodikoko
Contributor III
  • 6 kudos

Hi @Walter_C,Thank you for your input and support regarding the challenges I’ve been experiencing with Databricks SQL.I followed up with support, and they confirmed that these are known issues currently under review. Here’s a summary of the response:...

  • 6 kudos
8 More Replies
EWhitley
by New Contributor III
  • 6157 Views
  • 3 replies
  • 3 kudos

Resolved! Retrieve task name within workflow task (notebook, python)?

Using workflows, is there a way to obtain the task name from within a task?EX: I have a workflow with a notebook task. From within that notebook task I would like to retrieve the task name so I can use it for a variety of purposes.Currently, we're re...

  • 6157 Views
  • 3 replies
  • 3 kudos
Latest Reply
ttamas
New Contributor III
  • 3 kudos

Hi @EWhitley,Would {{task.name}} help in getting the current task name?https://docs.databricks.com/en/workflows/jobs/parameter-value-references.htmlPass context about job runs into job t 

  • 3 kudos
2 More Replies
boitumelodikoko
by Contributor III
  • 5342 Views
  • 2 replies
  • 0 kudos

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

We are experiencing the following issues.Description:I encountered an issue while executing a Spark SQL query in Databricks, and it seems to be related to the query optimization phase. The error message suggests an internal bug within Spark or the Sp...

  • 5342 Views
  • 2 replies
  • 0 kudos
Latest Reply
boitumelodikoko
Contributor III
  • 0 kudos

Update:Response from the Databricks Team.SymptomsInternal Error During Spark SQL Phase Optimization.CauseDataBricks PG Engineering team confirmed that this is indeed a bug in CASE WHEN optimization & they are working on the fix for this issue.Resolut...

  • 0 kudos
1 More Replies