Satya Kuppam
10/02/2025, 1:39 PM34.0.0 version:
• I have a query with a single JOIN and I keep running into Not enough memory issues (see 🧵 for the query, datasource and task run detail).
• The query fails in the sortMergeJoin phase. We have two historical pods with 64vCPU and 512gigs of memory with -Xmx=107g.
• From the Dart documentation its not clear how I can capacity plan for this query or if its possible to run this query successfully at all.
◦ does Dart spill to disk in the join phase? Would that potentially be the problem here?Satya Kuppam
10/02/2025, 1:46 PMleft datasource is time partitioned and clustered on the join key, with about one-week of data. Our right datasource is not time partitioned but clustered on the join key.
The right datasource is around ~50g and left is around 1.2TB. The join key has about 100M cardinality.Satya Kuppam
10/02/2025, 1:55 PM