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
  • 1108 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
  • 1108 Views
  • 0 replies
  • 0 kudos
sachamourier
by New Contributor II
  • 917 Views
  • 3 replies
  • 0 kudos

Importing Python files into another Workspace Python file does not work

I have created Python modules containing some Python functions and I would like to import them from a notebook contained in the Workspace. For example, I have a "etl" directory, containing a "snapshot.py" file with some Python functions, and an empty...

Warehousing & Analytics
Databricks
Modules
python
  • 917 Views
  • 3 replies
  • 0 kudos
Latest Reply
filipniziol
Contributor III
  • 0 kudos

Hi @sachamourier ,It will work, but you need carefully craft path to sys.path.append(), you even do not need __init__.py to make it work.Try to hard-code the path to the snapshot.py in workspace.Add this to your notebook: import sys import os absolu...

  • 0 kudos
2 More Replies
LeoRickli
by New Contributor II
  • 1058 Views
  • 4 replies
  • 2 kudos

Serverless SQL warehouses on GCP?

According to the official Databricks documentation on GCP, I should have the ability to deploy a serverless SQL warehouse inside Databricks. Following the documentation, it is requested to turn on Serverless SQL warehouses (On), but there is nothing ...

LeoRickli_0-1725640332787.png
  • 1058 Views
  • 4 replies
  • 2 kudos
Latest Reply
LeoRickli
New Contributor II
  • 2 kudos

Hello @filipniziol, thanks for the response.I'm the workspace owner. I just gave myself the account admin (Metastore admin) but still got nothing new.

  • 2 kudos
3 More Replies
EmmaP
by New Contributor III
  • 1538 Views
  • 5 replies
  • 2 kudos

Understand cluster activity Serverless SQL

Hello, Following abnormally high costs when using serverless sql on September 9 and 10, I noticed that the cluster sometimes stays on for an hour even though it's not receiving any new requests, and that the auto-stop is set to 5 minutes of inactivit...

serverless_activity_anomaly.png
  • 1538 Views
  • 5 replies
  • 2 kudos
Latest Reply
RCo
New Contributor III
  • 2 kudos

Hi @EmmaP!I have encountered this. Even though the UI says that they are complete, they actually are not. While the query itself completed, the client is still fetching the data from the SQL Warehouse.To check if this is your issue, from the monitori...

  • 2 kudos
4 More Replies
Hubert-Dudek
by Esteemed Contributor III
  • 3865 Views
  • 2 replies
  • 2 kudos

PDF report from databricks

You can now send pdf reports from Lakeview dashboards. Just hit subscribe (you can also add subscribers by yourself in schedule settings) #databricks 

pdf.png
  • 3865 Views
  • 2 replies
  • 2 kudos
Latest Reply
bernsb
New Contributor II
  • 2 kudos

Cool. This is a very convenient feature since most people now use the PDF format when working with text files. If anyone has ever had any issues with this format, I can say that I recently needed to merge several PDF files into one, and with the help...

  • 2 kudos
1 More Replies
xwen
by New Contributor II
  • 700 Views
  • 1 replies
  • 1 kudos

how to modify data type of a column explicitly via DBSQL

is there a SQL equivalent of overwriteSchema ?https://docs.databricks.com/en/delta/update-schema.html#explicitly-update-schema-to-change-column-type-or-name

  • 700 Views
  • 1 replies
  • 1 kudos
Latest Reply
xwen
New Contributor II
  • 1 kudos

 In place schema adjustment =>Then ALTER TABLE XXX ADD/DROP COLUMN XXX INTExamplecreate table test (id int, first_name string, last_name string ); insert into test values (1, 'john', 'smith'); alter table test add column age int; select * from testCr...

  • 1 kudos
msolcuadrado
by New Contributor II
  • 1282 Views
  • 1 replies
  • 0 kudos

SQL warehouse autostop not working

I'm using a SQL warehouse with autostop after 5 minutes of inactivity.  However, the cluster is constantly activating and deactivating without any explanation. There are no queries being executed, and I can't identify any reasons why it is happening,...

Screen Shot 2024-09-06 at 12.34.47.png
  • 1282 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @msolcuadrado ,In your case I would try to contact directly with databricks support team. This is a serious issue and I feel your pain. They should help you pinpoint an excat cause + maybe you'll get a refund

  • 0 kudos
Rich85
by New Contributor
  • 1230 Views
  • 1 replies
  • 0 kudos

Incorrect syntax near '=' error that I can't solve

Hi,I'm receiving the error Incorrect syntax near '=' when I run simple queries like the example below.  This only happens when I use a column created using a CASE statement in the WHERE clause.  I can use any other column in the WHERE clause, includi...

  • 1230 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kayla
Valued Contributor II
  • 0 kudos

What jumps out to me at first is the backticks on `Peak Vertical Force / BW`, but I'm assuming that's just a column name and not an attempt at division.Next that jumps out is TestType and TestTypeName being aliased as testType and testTypeName- spark...

  • 0 kudos
PabloCSD
by Valued Contributor
  • 644 Views
  • 0 replies
  • 0 kudos

Can't access to a directory for installing .whl

I was trying to install a personalized .whl file located in the "shared" folder but I'm obtaining this error:org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_...

Warehousing & Analytics
dbx
library installation
  • 644 Views
  • 0 replies
  • 0 kudos
mathiaskvist
by New Contributor III
  • 1026 Views
  • 4 replies
  • 0 kudos

SQL Warehouse REST statement execution validation fails with DECLARE SET

Hi,I'm using the REST API for SQL Warehouse in order to execute queries. I have experienced multiple times that query validation fails over the REST API, while executing the same query in the Databricks UI on the same cluster succeeds. An example: [P...

  • 1026 Views
  • 4 replies
  • 0 kudos
Latest Reply
adriennn
Contributor III
  • 0 kudos

Had to try for myself and it seems the sql execution context in the REST API is different than that of an *.sql script, notebook or query made against an sql warehouse through the ui. The error stems from the fact that the SET command can also be use...

  • 0 kudos
3 More Replies
JosephX
by New Contributor
  • 505 Views
  • 1 replies
  • 0 kudos

optimize query from power bi desktop

How to tuning databricks query performance from Power BI Dosktop

  • 505 Views
  • 1 replies
  • 0 kudos
Latest Reply
Brahmareddy
Honored Contributor
  • 0 kudos

Hi Joeshph,How are you doing today?Give a try with below inputs and let me know if works well.Filter and aggregate data in Databricks to reduce load before it reaches Power BI. Use DirectQuery carefully, simplify measures, and reduce the number of vi...

  • 0 kudos
paulocorrea
by New Contributor II
  • 1330 Views
  • 3 replies
  • 0 kudos

Issue with Lateral Column Alias (LCA)

I have a query using LCA. When referencing another table that has a column with the same name as the column used as LCA, the behavior of the query changes and it starts referencing the table column instead of the column that is already in the select ...

paulocorrea_0-1722351334548.png paulocorrea_1-1722351445234.png
  • 1330 Views
  • 3 replies
  • 0 kudos
Latest Reply
ClausStier
New Contributor II
  • 0 kudos

Hi @Kaniz_Fatma,we had the same problem as @paulocorrea.That's why it would be correct for to me to throw an error on ambiguous columns and the LCA could/must be addressed with a default identifier.Thanks

  • 0 kudos
2 More Replies
RickB
by New Contributor II
  • 682 Views
  • 3 replies
  • 1 kudos

SQL Positional parameters: INVALID_PARAMETER_MARKER_VALUE.DUPLICATE_NAME

When trying to execute a query via sql warehouse, I get the following error:INVALID_PARAMETER_MARKER_VALUE.DUPLICATE_NAMEthe sql statement uses ? placeholders and the correct number of arguments are being passed.I am not able to use named placeholder...

  • 682 Views
  • 3 replies
  • 1 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 1 kudos

Hi @RickB ,Which API are you using to invoke this? Parameter markers can be provided by:Python using its pyspark.sql.SparkSession.sql() API.Scala using its org.apache.spark.sql.SparkSession.sql() API.Java using its org.apache.spark.sql.SparkSession.s...

  • 1 kudos
2 More Replies
Akshay_Petkar
by Contributor II
  • 826 Views
  • 2 replies
  • 2 kudos

SQL Differences When Using SSMS with Databricks Lakehouse Federation

I'm planning to connect SQL Server Management Studio (SSMS) with Databricks using Lakehouse Federation. I understand that there are some differences in the SQL dialects between SSMS and Databricks SQL. For instance, in SSMS, we use TOP 10 to limit th...

  • 826 Views
  • 2 replies
  • 2 kudos
Latest Reply
-werners-
Esteemed Contributor III
  • 2 kudos

To add on this:if you really have to use T-SQL (the MS dialect of SQL), you can define the SQL warehouse from databricks as a linked server on your SQL server.As said: SSMS is merely a sql client, the SQL dialect to be used is defined by the database...

  • 2 kudos
1 More Replies
AZHAR-QUADRI
by New Contributor
  • 1244 Views
  • 1 replies
  • 0 kudos

How to create my First Dashboard in Lakeview

Hello Community . I am a newbie here having an experience in tableau and power bi . I wanted to explore Dashboard creation in  Lakeview . I have created a free trial databricks account . Although there are plenty of articles and videos on how to crea...

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

Hi @AZHAR-QUADRI ,You probably created workspace in a standard tier, that's why you can't see side bar. Recreate your workspace as a premium tier.

  • 0 kudos
Hubert-Dudek
by Esteemed Contributor III
  • 12225 Views
  • 2 replies
  • 0 kudos

Optimizing SQL Databricks Warehouse Timeout Settings

Did you know the default timeout setting for SQL #databricks Warehouse is two days?The default timeout can be too long for most use cases. You can easily change this for your session or in the general SQL warehouse configuration.

ezgif-1-a917957651.gif
  • 12225 Views
  • 2 replies
  • 0 kudos
Latest Reply
rj_22588
New Contributor II
  • 0 kudos

Hi @Hubert-Dudek we have a java service which uses JDBC Template for connecting to databricks warehouse. We recently set a high connection idle timeout and maxLifeTime for our hikari pool connection. We are now seeing error related to invalid session...

  • 0 kudos
1 More Replies

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group
Labels
Top Kudoed Authors