cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

RobsonNLPT
by Contributor III
  • 639 Views
  • 1 replies
  • 0 kudos

Compute Serverless Databricks Runtime

Hi all.2 questions about compute serverless1) How to check or query the runtime version used by Serverless compute/workflow? This is important as I use some features supported by specific runtime or higher2) Can you confirm if spark.conf.set(......) ...

  • 639 Views
  • 1 replies
  • 0 kudos
Latest Reply
Witold
Honored Contributor
  • 0 kudos

Sure: https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/current_version and https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/versionOnly some properties are allowed to be changed 

  • 0 kudos
DaPo
by New Contributor II
  • 775 Views
  • 0 replies
  • 0 kudos

DLT: Create Empty Table If Autloader Fails

Hi all,I am quite new to databricks. Overall I enjoyed the experience so far, but now ran into a problem, I was not able to find an acceptable solution.Here is my setup: I have a bunch of s3 buckets, and need to put the data into databricks, preferab...

Data Engineering
autoloader
Delta Live Table
dlt
spark
  • 775 Views
  • 0 replies
  • 0 kudos
yagmur
by New Contributor II
  • 1205 Views
  • 2 replies
  • 1 kudos

writing to blob storage from databricks (parquet format)

Hi, I am supposed to create transformation notebook. But i am having trouble when i am trying to save the transformed file into blob storage. I didn't use any layer, just the layer which i am performing transformation in. if i use wasbs i receive dif...

  • 1205 Views
  • 2 replies
  • 1 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 1 kudos

Hi @yagmur ,Did you assigned required permission to service principal on storage account?And make sure you're configuring connection to storage account in proper way. You should have something similiar to the code below: configs = { "fs.a...

  • 1 kudos
1 More Replies
A4Ashish
by New Contributor II
  • 897 Views
  • 2 replies
  • 0 kudos

Paramter Type while Executing Rest API of Execute a SQL statement POST /api/2.0/sql/statements/

Hi,So previously I was using Old Preview Databricks API version. Now I have switched to v1 of the API which usage Execute a SQL statement POST /api/2.0/sql/statements/I wanted to know how to pass the parameter class when my value is list of string fo...

  • 897 Views
  • 2 replies
  • 0 kudos
Latest Reply
A4Ashish
New Contributor II
  • 0 kudos

Hi @szymon_dybczak Any idea how to better handle IN operator with a list in new API version

  • 0 kudos
1 More Replies
User16826992666
by Valued Contributor
  • 2541 Views
  • 2 replies
  • 1 kudos

Resolved! If someone saves a flat file in a Databricks notebook without specifying a location, where does it go?

I ran the code block below and now I can't find the file. Where would this get saved since no location was specified?

Cmd
  • 2541 Views
  • 2 replies
  • 1 kudos
Latest Reply
jecastelo
New Contributor II
  • 1 kudos

/Workspace/Users/your.email@companyname.com/myfile.txt

  • 1 kudos
1 More Replies
Dave_Nithio
by Contributor II
  • 10523 Views
  • 6 replies
  • 7 kudos

Resolved! Delta Live Table Pipeline with Multiple Notebooks

I have two notebooks created for my Delta Live Table pipeline. The first is a utils notebook with functions I will be reusing for other pipelines. The second contains my actual creation of the delta live tables. I added both notebooks to the pipeline...

image.png
  • 10523 Views
  • 6 replies
  • 7 kudos
Latest Reply
JackyL
New Contributor II
  • 7 kudos

Hi Dave,You can solve this by putting your utils into a python file and referencing your .py file in the DLT notebook. I provided a template for the python file below:STEP 1: #import functions from pyspark.sql import SparkSession import IPython dbut...

  • 7 kudos
5 More Replies
Harsha777
by New Contributor III
  • 715 Views
  • 1 replies
  • 0 kudos

Casting a String (containing number in EU format) to a Decimal

Hi,I have a string column containing a number in EU format, has comma instead of dot, e.g. 10,35I need to convert this string into a proper decimal data type as part data transformation into the target table.I could do it as below by replacing the ",...

  • 715 Views
  • 1 replies
  • 0 kudos
Latest Reply
filipniziol
Esteemed Contributor
  • 0 kudos

Hi @Harsha777 ,Your solution looks good!However, you may try also to_number function, but unfortunately still will need to first to replace "," with ".". from pyspark.sql.functions import to_number, regexp_replace, lit data = [("10,6523",), ("10,23"...

  • 0 kudos
ibrahim2124
by New Contributor
  • 629 Views
  • 1 replies
  • 0 kudos

Facing Issue in Importing Delta Live Tables - Databricks Runtime 14.3

I am facing issues while Importing dlt library in Databricks Runtime 14.3. Previously while using the Runtime 13.1 The `import dlt` was working fine but now when updating the Runtime it is giving me error.This is the Cluster's Configuration     Also ...

image (1).png image.png
  • 629 Views
  • 1 replies
  • 0 kudos
Latest Reply
upatint07
New Contributor II
  • 0 kudos

@Retired_mod Do you have any solution for this above problem ? I saw you reply in this link https://community.databricks.com/t5/data-engineering/no-module-named-dlt/td-p/21105. so i just ask you. Thank you !

  • 0 kudos
Atul-Kumar
by New Contributor II
  • 942 Views
  • 4 replies
  • 1 kudos

XML file Load to Delta table with different fields list

I there,I have a scenario where the source XML files may have all the fields or may be 80% of fields in next run. How to we load the files in Delta tables which should handle the XML files with all field lists and also with few fields only. In smalle...

atulkumar_0-1723433363042.png
  • 942 Views
  • 4 replies
  • 1 kudos
Latest Reply
Atul-Kumar
New Contributor II
  • 1 kudos

Auto Loader is not acceptable solution in my case. I tried to make an empty table using XSD file and then load the data frame. Some how it worked to meet the objective.

  • 1 kudos
3 More Replies
Brahmareddy
by Honored Contributor II
  • 2109 Views
  • 0 replies
  • 2 kudos

How I Tuned Databricks Query Performance from Power BI Desktop

As someone who frequently works with large datasets in Power BI, I’ve had my fair share of frustrations with slow query performance, especially when pulling data from Databricks. After countless hours of tweaking and experimenting, I’ve finally found...

  • 2109 Views
  • 0 replies
  • 2 kudos
suela
by New Contributor II
  • 926 Views
  • 3 replies
  • 2 kudos

Resolved! Not able to get a SQL warehouse in Databricks AWS

Hey folks, I have been trying to set up an SQL warehouse for Databricks in AWS (on a new account) but I keep getting this:Cluster Start-up Delayed. Please wait while we continue to try and start the cluster. No action is required from you.This kept h...

  • 926 Views
  • 3 replies
  • 2 kudos
Latest Reply
suela
New Contributor II
  • 2 kudos

Hey Brahma,Thanks for the hints. I actually tried a lot of thinks back and forth and the only thing that finally worked was to create a new workspace. Since this was a new account, that was easy. I suppose something would have gone wrong with the con...

  • 2 kudos
2 More Replies
rpilli
by New Contributor
  • 1047 Views
  • 0 replies
  • 0 kudos

Conditional Execution in DLT Pipeline based on the output

Hello ,I'm working on a Delta Live Tables (DLT) pipeline where I need to implement a conditional step that only triggers under specific conditions. Here's the challenge I'm facing:I have a function that checks if the data meets certain thresholds. If...

  • 1047 Views
  • 0 replies
  • 0 kudos
JayanthDE
by New Contributor
  • 820 Views
  • 2 replies
  • 0 kudos

What are the use cases of AI for data engineers?

I am a data engineer and want to start with AI and ML, how and where to start with? 

  • 820 Views
  • 2 replies
  • 0 kudos
Latest Reply
Rishabh-Pandey
Esteemed Contributor
  • 0 kudos

@JayanthDE refer this .https://github.com/amueller/introduction_to_ml_with_python/blob/main/03-unsupervised-learning.ipynb

  • 0 kudos
1 More Replies
shiva1212
by New Contributor II
  • 905 Views
  • 1 replies
  • 0 kudos

Clone/copy python file

We are using Databricks extensively in the company. We found out that we can’t clone/copy *.py file using UI. We can clone notebooks but not python file. If we clone folder, we only clone notebooks inside folder but not python file. 

  • 905 Views
  • 1 replies
  • 0 kudos
Latest Reply
Rishabh-Pandey
Esteemed Contributor
  • 0 kudos

@shiva1212  When working with Databricks and managing Python files, it's true that the UI limitations can sometimes be restrictive. you can use Databricks CLI and REST API for file management and copying.

  • 0 kudos

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