apache/beam

Multiple batch joins on the same key results in multiple shuffles

Ouverte

#19 097 ouverte le 3 juin 2022

 (2 commentaires) (0 réaction) (1 personne assignée)Java (4 097 forks)batch import
P3dslgood first issueimprovementsql

Métriques du dépôt

Stars
 (7 313 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

The query like this:


SELECT a.*, b.*, c.* FROM a JOIN b ON a.some_id = b.some_id JOIN c ON a.some_id = c.some_id;

results in two shuffles. Can probably be optimized.

Relevant code:

Imported from Jira BEAM-5049. Original Jira may contain additional context. Reported by: kedin.

Guide contributeur