Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 06:25 AM
As Hubert mentioned: you should not create a spark session on databricks, it is provided.
The fact you do not broadcast manually makes me think Spark uses a broadcastjoin.
There is a KB about issues with that:
https://kb.databricks.com/sql/bchashjoin-exceeds-bcjointhreshold-oom.html
Can you check if it is applicable?