Skip to content

Improve performance if IN list function #145

Closed

Description

@alamb

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11182

The initial implementation of IN and NOT IN followed the "functional first, and then fast"

There are several potential performance improvements for the IN and NOT IN implementation in Data fusion such as optimizing for large lists (use a hash table rather than repeated comparisons) and short circuiting results.

There are a bunch of good ideas in the comments on this PR: https://github.com/apache/arrow/pull/9038/files

Activity

  1. alamb commented on Mar 10, 2023

    @alamb
    ContributorAuthor

    this was done

  2. added a commit that references this issue on Oct 7, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions