Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planner, executor: implement the null-aware antiSemiJoin and null-aware antiLeftOuterSemiJoin (hash join with inner build) #37512

Merged
merged 24 commits into from
Sep 19, 2022

Commits on Sep 17, 2022

  1. implement the null aware anti semi join and null aware anti left out…

    …er semi join
    
    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    26a2aa5 View commit details
    Browse the repository at this point in the history
  2. make fmt

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    dadb27a View commit details
    Browse the repository at this point in the history
  3. make fmt

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    09c79c8 View commit details
    Browse the repository at this point in the history
  4. make fmt

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    2938927 View commit details
    Browse the repository at this point in the history
  5. make fmt

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    92e8bb9 View commit details
    Browse the repository at this point in the history
  6. fix old mpp hash join test cases

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    a1241d0 View commit details
    Browse the repository at this point in the history
  7. fix old join reorder test

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    216d2fe View commit details
    Browse the repository at this point in the history
  8. fix TestLeadingJoinHint4OuterJoin test case

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    d3e74b1 View commit details
    Browse the repository at this point in the history
  9. fix getNullBucket won't clear the old data and fix test TestMultiColI…

    …nExpression
    
    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    a540255 View commit details
    Browse the repository at this point in the history
  10. fix TestOrderedResultModeOnSubQuery

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    b1b3d6b View commit details
    Browse the repository at this point in the history
  11. .

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    296451d View commit details
    Browse the repository at this point in the history
  12. do not ref null bit map in buildHashCtx directly, because it may be r…

    …eset later
    
    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    7e76f5a View commit details
    Browse the repository at this point in the history
  13. make fmt

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    16708c7 View commit details
    Browse the repository at this point in the history
  14. fix comment

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    3cf5504 View commit details
    Browse the repository at this point in the history
  15. shallow copy hashNullBucket for every probe worker after build

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    f409fe7 View commit details
    Browse the repository at this point in the history
  16. change NAAJ to Null-aware

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    386b560 View commit details
    Browse the repository at this point in the history
  17. avoid generate tiflash naaj join

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    03ce4a0 View commit details
    Browse the repository at this point in the history
  18. add naaj switch

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    406facb View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. Update executor/hash_table.go

    Co-authored-by: Yiding Cui <winoros@gmail.com>
    AilinKid and winoros authored Sep 18, 2022
    Configuration menu
    Copy the full SHA
    0ac2d30 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    6656184 View commit details
    Browse the repository at this point in the history
  2. move the null bits collection out of loop

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    c93e419 View commit details
    Browse the repository at this point in the history
  3. add unsafeSet for concurrentBitmap to speed up

    Signed-off-by: AilinKid <314806019@qq.com>
    AilinKid committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    053aeb6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f3f9b7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3f486e View commit details
    Browse the repository at this point in the history