Skip to content

[R] Joining two datasets crashes if use_threads=FALSE #31169

Closed

Description

@asfimport

In ARROW-14908 we solved the case of joining a dataset to an in memory table, but did not solve joining two datasets.

The previous solution was to add +1 to the thread count, because the hash join logic might be called by the scanner's IO thread. For joining more than 1 dataset, we might have more than 1 IO thread, so we either need to add a larger arbitrary number or find a way to make the state logic more resilient to unexpected threads.

Reporter: Will Jones / @wjones127
Assignee: Will Jones / @wjones127

Related issues:

PRs and other links:

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

Activity

  1. asfimport commented on Apr 8, 2022

    @asfimport
    Author

    Will Jones / @wjones127:
    A long-term solution might be implemented in something like #12468, but that is blocked by ARROW-16072.

    For 8.0.0 we should implement a workaround. I'll implement something simpler than what I started in #12437

  2. asfimport commented on Apr 21, 2022

    @asfimport
    Author

    Weston Pace / @westonpace:
    Issue resolved by pull request 12845
    #12845

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions