Skip to content

Left/full outer join incorrect for CollectLeft / broadcast #1055

Open

Description

@Dandandan

Describe the bug
See discussion here apache/datafusion#12454

The "broadcast join" (CollectLeft) is wrong for certain join types which produce results on unmatched left rows.

To Reproduce
Run a broadcast join with left / full outer on more than one node

Expected behavior

Additional context

Activity

  1. changed the title [-]Left/full outer join incorrect [/-] [+]Left/full outer join incorrect for CollectLeft / broadcast[/+] on Sep 15, 2024
  2. Dandandan commented on Nov 20, 2024

    @Dandandan
    ContributorAuthor

    There is a proposal in DataFusion for adding a hook to support sharing the join state apache/datafusion#12523

    We tested this at Coralogix, this works very well for us.

  3. added this to the 0.13.0 milestone on Nov 20, 2024
  4. Dandandan commented on Nov 20, 2024

    @Dandandan
    ContributorAuthor

    It could be disabled as well, although that will likely hurt performance by quite a bit.

  5. milenkovicm commented on Nov 20, 2024

    @milenkovicm
    Contributor

    should we take this once it gets merged in DF ?

  6. milenkovicm commented on May 24, 2026

    @milenkovicm
    Contributor

    #1647 fixed this issue

  7. Dandandan commented on Jun 28, 2026

    @Dandandan
    ContributorAuthor

    I don't fully understand how #1647 would fix the issue? 🤔

  8. andygrove commented on Jun 28, 2026

    @andygrove
    Member

    It looks like this issue was closed prematurely. The PR that was merged does state that "AQE is deferred". Let's reopen this issue.

  9. milenkovicm commented on Jun 29, 2026

    @milenkovicm
    Contributor

    I apologise, I mistakenly thought this has been fixated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions