Skip to content

SortMergeJoin: Add fuzz tests for SMJ when the JoinFilter is set #10659

Closed

Description

@comphead

Is your feature request related to a problem or challenge?

SMJ now is in experimental state, and the test coverage can be improved. Because of poor test coverage it was found multiple bugs manually, with tests it would be much easier

Describe the solution you'd like

I would like to expand fuzz test coverage for SMJ in join_fuzz.rs to support scenarios when the JoinFilter is set.

Currently JoinFilter is hardcoded as None for SMJ and would be great to start work for adding filter test cases

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. edmondop commented on May 30, 2024

    @edmondop
    Contributor

    @comphead would you please have a look at #10728? While hashjoin and sortmergejoin produce the same result when adding a filter, NestedLoopJoin doesn't, but I can't figure out what error I made in combining the two filters

  2. comphead commented on Jun 3, 2024

    @comphead
    ContributorAuthor

    @edmondop I'd suggest to make one step a time. join filter can be tricky, my vision we should be starting with HJ and SMJ for now. Leave NLJ for later

  3. edmondop commented on Jun 3, 2024

    @edmondop
    Contributor

    Ok I will proceed to remove the join filter on the nested loop !

  4. comphead commented on Jun 3, 2024

    @comphead
    ContributorAuthor

    Appreciate if you could file the issue cc'ing me with NLJ wrong behavior details

  5. edmondop commented on Jun 4, 2024

    @edmondop
    Contributor

    @comphead I filed this #10787, I have only added one test case with filtering at the moment, do you think we need to add one test case with filtering for each of the existing test cases?

  6. comphead commented on Jun 12, 2024

    @comphead
    ContributorAuthor

    RightJoin and LeftAnti join will addressed in separate PRs

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions