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:ย 

GroupBy in a multi node environment

RajuNagarajan
New Contributor

I have a group of rows with Information on a nested product calls.

example-

Trxn1-product1-caller1-local1

Trxn1-Product1-local1-local2

Trxn1-Product1-local2-local3

hereโ€™s is a expected calls for a product

product1-caller1-local1

Product1-local1-local2

Product1-local2-local3

Product1-local3-local4

Product1-local4-local5

now I need to create one additional record to my dataframe

Trxn1-product1-local3-local4. Picking only this coz, thatโ€™s the first missing link in the chain based on where it failed.

Like Trxn1, I have 10000s of them and I need to group these by transaction Id and apply the condition based on the product.

Trying if for loop is taking a

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @ RajuNagarajan! My name is Kaniz, and I'm a technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers on the Forum have an answer to your questions first. Or else I will follow up shortly with a response.

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