Skip to content

[C++] Support hash-join on larger than memory datasets #31769

Open

Description

@asfimport

The current implementation of the hash-join node current queues in memory the hashtable, the entire build side input, and the entire probe side input (e.g. the entire dataset). This means the current implementation will run out of memory and crash if the input dataset is larger than the memory on the system.

By spilling to disk when memory starts to fill up we can allow the hash-join node to process datasets larger than the available memory on the machine.

Reporter: Weston Pace / @westonpace

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-16389. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Dec 15, 2022

    @asfimport
    Author

    Apache Arrow JIRA Bot:
    This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per project policy. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

  2. asfimport commented on Dec 16, 2022

    @asfimport
    Author

    Zane Wilbert Keeler:
    dr jim
    data sets on proper hdwe sfwr for your info.

    z

    On Thu, Jul 21, 2022 at 1:04 AM ASF GitHub Bot (Jira) jira@apache.org

  3. asfimport commented on Dec 16, 2022

    @asfimport
    Author

    Zane Wilbert Keeler:
    dr jim
    changing server
    hdwe update.
    z

  4. github-actions commented on Mar 30, 2026

    @github-actions

    This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.

  5. added
    Status: stale-warning
    on Mar 30, 2026
  6. added
    Status: needs champion
    and removed
    Status: stale-warning
    on Jul 30, 2026
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

    Component: C++Status: needs championType: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions