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
  • 2584 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
  • 2584 Views
  • 0 replies
  • 0 kudos
GarCab
by New Contributor
  • 1158 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...

  • 1158 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
  • 1084 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...

  • 1084 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
  • 926 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 ...

  • 926 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 II
  • 2491 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 ...

  • 2491 Views
  • 9 replies
  • 6 kudos
Latest Reply
boitumelodikoko
Contributor II
  • 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
  • 5730 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...

  • 5730 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 II
  • 4194 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...

  • 4194 Views
  • 2 replies
  • 0 kudos
Latest Reply
boitumelodikoko
Contributor II
  • 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
iscpablogarcia
by New Contributor II
  • 1437 Views
  • 1 replies
  • 2 kudos

How can i set the workflow status to Skipped?

I have a Python script workflow with 2 tasks: Task A and Task B.When task A has data, this is shared to Task B via createOrReplaceGlobalTempView with no issues.The goal is: When A has no data, skip the Task B and also set the workflow status to "Skip...

iscpablogarcia_0-1737152423551.png
  • 1437 Views
  • 1 replies
  • 2 kudos
Latest Reply
Walter_C
Databricks Employee
  • 2 kudos

To achieve the goal of setting the workflow status to "Skipped" when Task A has no data, you can use the "Run if" conditional task type in Databricks Jobs. This allows you to specify conditionals for later tasks based on the outcome of other tasks.ht...

  • 2 kudos
daviddekoning
by New Contributor II
  • 521 Views
  • 1 replies
  • 1 kudos

Resolved! Container Service on Windows base container

I have some legacy software that only runs on Windows, but that can be driven via Python. Is it possible to set up compute resources that run Databricks Container Service on a windows base image, so that I can then add this legacy software and work w...

  • 521 Views
  • 1 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

Unfortunately this is not possible, as part of the requirements you need to use an Ubuntu image: https://docs.databricks.com/en/compute/custom-containers.html#option-2-build-your-own-docker-base 

  • 1 kudos
Dnirmania
by Contributor
  • 521 Views
  • 1 replies
  • 3 kudos

Foreign Catalog - AWS Redshift

Hello EveryoneRecently, my team integrated an AWS Redshift database as a foreign catalog in Azure Databricks. We can successfully run SELECT queries and create regular views on top of the foreign catalog table. However, when attempting to create a ma...

  • 521 Views
  • 1 replies
  • 3 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 3 kudos

Hi @Dnirmania, Materialized views in SQL often use serverless Delta Live Tables pipelines, which might be causing the connection timeout due to IP whitelisting restrictions. Serverless compute might not be able to connect to the federated source if t...

  • 3 kudos
VCA50380
by Contributor II
  • 1048 Views
  • 5 replies
  • 2 kudos

Resolved! Best practice to materialize data

Hello all,I'm quite new to Databricks world, and currently in the process of analyzing a migration from Oracle on-premise (with a lot of SQL, PL/SQL, custom things, etc.) to Databricks.Let's try to illustrate my situation in Oracle (summary):. Let's ...

  • 1048 Views
  • 5 replies
  • 2 kudos
Latest Reply
Walter_C
Databricks Employee
  • 2 kudos

Hello, sure if any additional information is needed just let us know and we will be happy to assist.

  • 2 kudos
4 More Replies
Akshay_Petkar
by Contributor III
  • 5088 Views
  • 5 replies
  • 1 kudos

Resolved! Migrate Azure Synapse Analytics data to Databricks

I have to migrate the data from Azure Synapse Analytics to Databricks. Could anyone share the different approaches to migrate data, and from those, which is the best approach to use?

  • 5088 Views
  • 5 replies
  • 1 kudos
Latest Reply
raushan_kumar
New Contributor II
  • 1 kudos

Can we mount the Syanpse storage account ADLS Gen2 directly to Databricks and then we can only  migrate pipeline/code to databricks

  • 1 kudos
4 More Replies
VKe
by New Contributor III
  • 4523 Views
  • 4 replies
  • 0 kudos

install Oracle Instant Client

Hello all,I want to install Oracle Instant Client to be able to use python-oracledb in Thick-Mode because one of our databases is old and cannot be reached in Thin-Mode. I have tried the solution from this post, but it doesn't help me. It seems that ...

  • 4523 Views
  • 4 replies
  • 0 kudos
Latest Reply
NelsonE
New Contributor III
  • 0 kudos

What about shared compute, is it possible? Neither of those scripts is working for me really...

  • 0 kudos
3 More Replies
KosmaS
by New Contributor III
  • 692 Views
  • 1 replies
  • 2 kudos

SQL Warehouse - Turning off caching

Hi All,I'd like to do some benchmarking and I need to turn off caching on my SQL Warehouse Server. However, whatever I try I receive quite high level of caching after running my queries (>60%). I tried to turn off my server, but it automatically wake...

  • 692 Views
  • 1 replies
  • 2 kudos
Latest Reply
Walter_C
Databricks Employee
  • 2 kudos

To disable query result caching, you can run SET use_cached_result = false in the SQL editor.

  • 2 kudos
jay99
by New Contributor II
  • 1236 Views
  • 4 replies
  • 1 kudos

Create multiple SQL warehouse with custom access control

We set up the SQL warehouse IAM role in the settings option. This is applied to all warehouses. How do I create sql warehouses with multiple IAM roles to maintain access control.

  • 1236 Views
  • 4 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

Unfortunately there is no way to restrict the access the compute has, the restrictions are being performed via the users permissions. Only option here will be to submit a feature request through https://docs.databricks.com/en/resources/ideas.html#ide...

  • 1 kudos
3 More Replies
Akshay_Petkar
by Contributor III
  • 4969 Views
  • 7 replies
  • 7 kudos

Need a Sample MERGE INTO Query for SCD Type 2 Implementation

Can anyone provide a sample MERGE INTO SQL query for implementing SCD Type 2 in Databricks using Delta Tables?

  • 4969 Views
  • 7 replies
  • 7 kudos
Latest Reply
bhanu_gautam
Valued Contributor II
  • 7 kudos

@JissMathew  and @David_Torrejon , Thanks for sharing the example

  • 7 kudos
6 More Replies