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

dbsuersu
by New Contributor II
  • 2108 Views
  • 1 replies
  • 0 kudos

"dbfs:" quote added as a prefix to file path

There is a mount path /mnt/folder I am passing filename as a variable from another function and completing the path variable as follows: filename=file.txt path=/mnt/folder/subfolder/+filename When I'm trying to use the path variable is a function, f...

  • 2108 Views
  • 1 replies
  • 0 kudos
Latest Reply
-werners-
Esteemed Contributor III
  • 0 kudos

databricks uses the databricks file system (dbfs) by default. So my guess is you did not mount the path in databricks.

  • 0 kudos
reza-eghbali
by New Contributor
  • 1671 Views
  • 0 replies
  • 0 kudos

Kafka consumer and a web server simultaneously, thread blocking problem in microservice

assumptions: There are microservices behind an api-gateway, they communicate through HTTP synchronously. obviously, each one of those microservices is a web server. now I want my microservice to play as a Kafka producer and "consumer" too. more clea...

  • 1671 Views
  • 0 replies
  • 0 kudos
JoãoRafael
by New Contributor II
  • 4339 Views
  • 3 replies
  • 0 kudos

Double job execution caused by databricks' RemoteServiceExec using databricks-connector

Hello! I'm using databricks-connector to launch spark jobs using python. I've validated that the python version (3.8.10) and runtime version (8.1) are supported by the installed databricks-connect (8.1.10). Everytime a mapPartitions/foreachParti...

0693f000007OoMBAA0 0693f000007OoMAAA0
  • 4339 Views
  • 3 replies
  • 0 kudos
Latest Reply
Anonymous
Not applicable
  • 0 kudos

A community forum to discuss working with Databricks Cloud and Spark. ... Double job execution caused by databricks' RemoteServiceExec using databrick.MyBalanceNow

  • 0 kudos
2 More Replies
Kotofosonline
by New Contributor III
  • 1539 Views
  • 1 replies
  • 0 kudos

Bug Report: Date type with year less than 1000 (years 1-999) in spark sql where [solved]

Hi, I noticed unexpected behavior for Date type. If year value is less then 1000 then filtering do not work. Steps:create table test (date Date); insert into test values ('0001-01-01'); select * from test where date = '0001-01-01' Returns 0 rows....

  • 1539 Views
  • 1 replies
  • 0 kudos
Latest Reply
Kotofosonline
New Contributor III
  • 0 kudos

Hm, seems to work now.

  • 0 kudos
max651
by New Contributor
  • 1654 Views
  • 0 replies
  • 0 kudos

How to create circles and find diameter in point cloud?

Good day, Everybody. I have a task I should create many circles in a point cloud (my file can be .csv) and calculate their diameter in the area 100m x 100 m. I have the coordinates of the starting point. The circles should be created at the height ...

0693f000007OoQoAAK
  • 1654 Views
  • 0 replies
  • 0 kudos
Lon_Fortes
by New Contributor III
  • 8476 Views
  • 2 replies
  • 1 kudos

Resolved! How can I check that column on a delta table has a "NOT NULL" constraint or not?

Title pretty much says it all - I'm trying to determine whether or not a column on my existing delta table was defined as NOT NULL or not. It does not show up in any of the metadata (describe detail, describe history, show tblproperties). Thanks in...

  • 8476 Views
  • 2 replies
  • 1 kudos
Latest Reply
Matthew8
New Contributor II
  • 1 kudos

walgreenslistens Wrote:A UNIQUE constraint defines a set of columns that uniquely identify rows in a table only if all the key values are not NULL. If one or more key parts are NULL, duplicate keys are allowed.

  • 1 kudos
1 More Replies
User16857281869
by Databricks Employee
  • 1107 Views
  • 1 replies
  • 0 kudos

We want to do demand forecasting for our supply chain. How should we benefit from Spark in the Usercase development?

We have a series of blogs on the topic which describe the challenges and the best practices on development of demand forecasting usecases on Databricks. Please refer to this blog and the references in it for more info.

  • 1107 Views
  • 1 replies
  • 0 kudos
Latest Reply
Anonymous
Not applicable
  • 0 kudos

We have a series of blogs on the topic which describe the challenges and the best practices on development of demand forecasting usecases on Databricks. Please refer to this blog and the references in it for more info.

  • 0 kudos
irfanaziz
by Contributor II
  • 2756 Views
  • 1 replies
  • 1 kudos

Resolved! How to keep the original Swedish/Finnish character in the file?

The files are in ANSI format as it shows in the notepad, I could manuelly convert the files to utf8 and read it. But the files are really large. I dont want to download and upload the files. Is there way so i could keep the swedish/finnish characte...

  • 2756 Views
  • 1 replies
  • 1 kudos
Latest Reply
irfanaziz
Contributor II
  • 1 kudos

So the answer was using the option("charset", "iso-8859-1")

  • 1 kudos
SarahDorich
by New Contributor II
  • 4395 Views
  • 3 replies
  • 0 kudos

How to register datasets for Detectron2

I'm trying to run a Detectron2 model in Databricks and cannot figure out how to register my train, val and test datasets. My datasets live in an Azure data lake. I have tried the following with no luck. Any help is appreciated. 1) Specifying full p...

  • 4395 Views
  • 3 replies
  • 0 kudos
Latest Reply
Thurman
New Contributor II
  • 0 kudos

Register your dataset Optionally, register metadata for your dataset.

  • 0 kudos
2 More Replies
hmcdowelle
by New Contributor II
  • 17087 Views
  • 18 replies
  • 0 kudos

i just can't seem to make a cluster without error

I have been trying to create a cluster and this is my first time using databricks. I have tried across multiple resources and am getting frustrated. Each time the cluster comes up with an error. I have no idea what I am doing wrong. I use default se...

  • 17087 Views
  • 18 replies
  • 0 kudos
Latest Reply
kwayebgh
New Contributor II
  • 0 kudos

I have a Free Azure student account and I was facing similar challenges. This is how I solved mine after many hours of trial and error. Mine is working now. When creating the Azure Databricks resource group: Select Premium. Don't use the 14 day tri...

  • 0 kudos
17 More Replies
user_b22ce5eeAl
by New Contributor II
  • 2752 Views
  • 2 replies
  • 0 kudos

pandas udf type grouped map fails

Hello, I am trying to get the shap values for my whole dataset using pandas udf for each category of a categorical variable. It runs well when I run it on a few categories but when I want to run the function on the whole dataset my job fails. I see ...

  • 2752 Views
  • 2 replies
  • 0 kudos
Latest Reply
Jackson
New Contributor II
  • 0 kudos

I want to use data.groupby.apply() to apply a function to each row of my Pyspark Dataframe per group.I used The Grouped Map Pandas UDFs. However I can't figure out how to add another argument to my function. DGCustomerFirst SurveyI tried using the ar...

  • 0 kudos
1 More Replies
guruv
by New Contributor III
  • 1181 Views
  • 0 replies
  • 0 kudos

Transactional approach to write to Azure ADLS gen2 storage

Hi, what is the recommended way to read data from delta table and write to ADLS gen2 storage in parquet format. In my case i use a notebook to read data do some processing and write it to storage and update delta table with detail of last written da...

  • 1181 Views
  • 0 replies
  • 0 kudos
MalachiBunn
by New Contributor II
  • 1953 Views
  • 0 replies
  • 0 kudos

Toggle titles to show by default for a user or notebook

I find titles to be useful in organizing my notebooks, but I don't like having to toggle the title display for each cell in order to add a title. Is there a way to toggle the UI to show titles by default for a user/notebook? This would be a good fea...

  • 1953 Views
  • 0 replies
  • 0 kudos

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now
Labels