10. Find the employees with their primary department | Pyspark | SQL Solution

Опубликовано: 02 Июль 2026
на канале: CognitiveCoders
174
5

If you like this video please do like,share and subscribe my channel.

data = [(1,1,'N'),(2,1,'Y'),(2,2,'N'),(3,3,'N'),(4,2,'N'),(4,3,'Y'),(4,4,'N')]

schema = ['emp_id','dept_id','primary_flag']


PySpark playlist :    • PySpark and Databricks  

Azure Datafactory playlist :    • Azure Data Factory Tutorial  

PySpark RealTime Scenarios playlist :    • PySpark Real Time Scenarios  

PySpark Interview Question :    • PySpark Interview Series  

Scenario Based Interview Question :    • Scenario Based Interview Question  

Unit Testing in PySpark :    • UnitTesting PySpark  

Linkedin :   / pritam-saha-060516139  

GitHub : https://github.com/Pritamsaha627/Pyspark

Contact Mail Id : [email protected]

Telegram channel : https://t.me/CognitiveCoders

Topmate : https://topmate.io/pritamsaha627

WhatsApp channel : https://whatsapp.com/channel/0029Va4x...

Instagram :   / pritamsaha627  

Travel & Food Vlogs :    / @explorerpritamsaha  

1 Subscriber, 1👍🏻, 1Comment = 100 Motivation 🙏🏼
🙏🏻Please Subscribe 🙏🏼

#pyspark #databricks #tutorial #job #interview #questions #realtimescenarios #cognitivecoders