cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

sanjay
by • Valued Contributor II
  • 4653 Views
  • 1 replies
  • 1 kudos

Resolved! Remove duplicate records using pyspark

Hi,I am trying to remove duplicate records from pyspark dataframe and keep the latest one. But somehow df.dropDuplicates["id"] keeps the first one instead of latest. One of the option is to use pandas drop_duplicates, Is there any solution in pyspark...

  • 4653 Views
  • 1 replies
  • 1 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 1 kudos

Hi @sanjay ,You can write window function that will rank your rows and then filter rows based on that rank.Take a look on below stackoverflow thread: https://stackoverflow.com/questions/63343958/how-to-drop-duplicates-but-keep-first-in-pyspark-datafr...

  • 1 kudos
Phani1
by • Databricks MVP
  • 2219 Views
  • 1 replies
  • 0 kudos

best practices for implementing early arriving fact handling

 Hi All,Can you please share us the best practices for implementing early arriving fact handling in databricks for streaming data processed in near real time using structured streaming.There are many ways to handle this use case in batch/mini batch. ...

Phani1_0-1724754033290.png
  • 2219 Views
  • 1 replies
  • 0 kudos
Latest Reply
Phani1
Databricks MVP
  • 0 kudos

Greetings Team, I would like to inquire if any of you have suggestions regarding the query.

  • 0 kudos
lean-ai
by • New Contributor
  • 1627 Views
  • 0 replies
  • 0 kudos

Any women in data+ai interested in gathering to form some a casual networking group based in Sydney?

Hi all,Inspired by the Women in Data+AI Breakfast at the Databricks World Tour in Sydney, I'm considering the potential for a new womens' networking community based in Sydney. This group would cater to women currently working in or interested in purs...

  • 1627 Views
  • 0 replies
  • 0 kudos
Raven91
by • New Contributor III
  • 12321 Views
  • 13 replies
  • 4 kudos

Can't activate users

A while back apparently a user became inactive on our Databricks platform from unknown reason.So far everything we tried haven't worked:Delete and manually re-create the userDelete and let SSO to create the user on loginUse Databricks CLI - shows no ...

  • 12321 Views
  • 13 replies
  • 4 kudos
Latest Reply
AsgerLarsen
New Contributor III
  • 4 kudos

I had the same issue on my admin account seamlessly becoming inactive at random.The problem occurred after helping our platform team testing out a new setup of another databricks workspace.I was testing the setup logging in as a standard user and an ...

  • 4 kudos
12 More Replies
vengroff
by • New Contributor II
  • 3520 Views
  • 0 replies
  • 1 kudos

Installation of cluster requirements.txt does not appear to run as google service account

I am running on 15.4 LTS Beta, which supports cluster-level requirements.txt files. The particular requirements.txt I have uploaded to my workspace specifies an extra index URL using a first line that looks like--extra-index-url https://us-central1-p...

  • 3520 Views
  • 0 replies
  • 1 kudos
VReddy1601
by • New Contributor
  • 1586 Views
  • 0 replies
  • 0 kudos

Apply Changes Error in DLT Pipeline

Hi Team, Am Trying to use Apply changes from Bronze to Silver using the below.                   @dlt.table(           name="Silver_Orders",           comment="This table - hive_metastore.silver.Orders reads data from the Bronze layer and writes it t...

  • 1586 Views
  • 0 replies
  • 0 kudos
jmbabazi
by • New Contributor II
  • 6155 Views
  • 5 replies
  • 1 kudos

Resolved! Unable to connect to SQL Warehouse from RStudio using U2M authentication

Hi Community,Has anyone encountered the error below, and If yes, how did you solve it? My workspace is setup normally in UC. My workspace also has private endpoint setup. I am authentication over the browser when I run my R code, then right after the...

  • 6155 Views
  • 5 replies
  • 1 kudos
Latest Reply
jmbabazi
New Contributor II
  • 1 kudos

Thanks everyone for the replies. It turned out that this is a known bug and they are working on a fix

  • 1 kudos
4 More Replies
HelloME
by • New Contributor
  • 6878 Views
  • 3 replies
  • 1 kudos

Databricks Asset Bundles - terraform.tfstate not matching when using databricks bundle deploy

Hello I have notice something strange with the asset bundle deployments via the CLI toolI am trying to run databricks bundle deploy and i'm getting and error saying the job ID doesn't exist or I don't have access to it. Error: cannot read job: User h...

  • 6878 Views
  • 3 replies
  • 1 kudos
Latest Reply
joho
New Contributor II
  • 1 kudos

hello,I experienced the same problem today. However i was able to fix it by deleting the tf statefile containing the deleted job. (Located in the .bundle folder in my workspace under the user/ service principal who deployed the bundle. )

  • 1 kudos
2 More Replies
venicoldgelcije
by • New Contributor
  • 1489 Views
  • 0 replies
  • 0 kudos

Venicold G@l: cijena i učinkovitost liječenja proširenih vena u Croatia

Venicold G@L pomaže brzom zacjeljivanju krvnih žila nogu. Ovaj neinvazivni, brzodjelujući lijek razbija krvne ugruške koji smanjuju krvarenje, uzrokuju otežan protok krvi, tanje stijenke krvnih žila, povećanu viskoznost krvi i eventualno začepljenje ...

  • 1489 Views
  • 0 replies
  • 0 kudos
Ankita04
by • Databricks Partner
  • 743 Views
  • 0 replies
  • 0 kudos

DataBricks Certification Exam Got Suspended.

Hello , I was taking the Databricks Certified Data Engineer Associate exam when a pop-up appeared, warning me not to look away from the screen. However, I was focused solely on the screen and did not violate any exam rules.Afterwards , the proctor as...

  • 743 Views
  • 0 replies
  • 0 kudos
venicoldgelital
by • New Contributor
  • 912 Views
  • 0 replies
  • 0 kudos

Venicold G@l | Un prodotto che cura le vene varicose - Recensione di Italy

L'ultima generazione di G@L topico biologico Venicold G@L allevia la pesantezza delle gambe, le gambe doloranti e le vene gonfie. Per la guarigione delle vene varicose, penetra in profondità negli strati sottocutanei della pelle. Elimina e previene l...

  • 912 Views
  • 0 replies
  • 0 kudos
diabetic
by • New Contributor
  • 880 Views
  • 0 replies
  • 0 kudos

Diabetic | Soutenez votre diabète avec des gelule abordables au Sénégal (évaluations positives)

 Les médicaments contre le diabète préviennent les types 1 et 2. Sa gelule révolutionnaire augmente la sensibilité à l'insuline et normalise la glycémie sans utiliser de médicaments nocifs ou coûteux. Vous pouvez obtenir la solution à votre problème ...

  • 880 Views
  • 0 replies
  • 0 kudos
Avinash_Narala
by • Databricks Partner
  • 926 Views
  • 0 replies
  • 0 kudos

Few Tables not getting creating in Overwatch installation in Azure Databricks

We have installed Overwatch in Azure Databricks environment.As mentioned in documentation, we did create storage account for cluster logs and mounted  it in databricks. Similarly, enabled system tables for audit logs and created delta table for stori...

Avinash_Narala_1-1724396032727.png Avinash_Narala_2-1724396057123.png
  • 926 Views
  • 0 replies
  • 0 kudos
ChristianRRL
by • Honored Contributor II
  • 4692 Views
  • 3 replies
  • 4 kudos

Resolved! Manual vs. Scheduled Job Flag

Hi all,Simple question here. Is there some kind of "flag" accessible during a job run to tell if a job has been run via manual run vs. via scheduled run? I'm wanting to have the job behave slightly differently when running in either mode and ideally ...

  • 4692 Views
  • 3 replies
  • 4 kudos
Latest Reply
ChristianRRL
Honored Contributor II
  • 4 kudos

For a bit more context, basically I would like to know *during the job run* (in Python) how the job was triggered (Manual vs Scheduled): 

  • 4 kudos
2 More Replies
Labels