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

[feature](nereids) extend infer predicates #40878

Merged
merged 31 commits into from
Oct 10, 2024

Commits on Oct 8, 2024

  1. [feature](nereids) add unequal predicates infer

    [feature](nereids) add unequal predicates infer
    
    [feature](nereids) add unequal predicates infer
    
    [feature](nereids) add unequal predicates infer
    
    normalize unequal infer predicate 5>a to a<5
    
    add regression res
    
    [feature](nereids) add unequal predicates infer
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    37942bd View commit details
    Browse the repository at this point in the history
  2. [Feature](nereids) extend derivation of equivalence predicate

    [Feature](nereids) extend derivation of equivalence predicate
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    literal should not be targetExpr and produce new predicate
    
    delete useless code
    
    delete useless code
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    fix a=1 b=1 a=2 deduce to a=b
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    [Feature](nereids) extend derivation of equivalence predicate
    
    add feut
    
    only support slot equalTo infer, remove the expr equalTo infer support
    
    fix feut
    
    change the logic of pull up predicate from join, and support a=1 b=1 infer a=b
    
    not infer same table predicates
    
    revert 'change the logic of pull up predicate from join, and support a=1 b=1 infer a=b'
    
    sort the equal set, and infer a=b a=c to b=c in order
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1d8f7e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4135ca View commit details
    Browse the repository at this point in the history
  4. fix feut

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b2f1f27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    588b0cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48eaa5a View commit details
    Browse the repository at this point in the history
  7. fix regression

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    989c19b View commit details
    Browse the repository at this point in the history
  8. fix regression

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    bfbea6f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b0b2528 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    38c56cb View commit details
    Browse the repository at this point in the history
  11. fix regression

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b4c3685 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a0b2954 View commit details
    Browse the repository at this point in the history
  13. sort input exprs by tosql in unequal infer to fix result, generate eq…

    …ualTo in unequal infer and change pull up join predicates
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    86cc24d View commit details
    Browse the repository at this point in the history
  14. when throw error in replace predicate, skip it and add cast check for…

    … decimalv3, and add feut for unequal predicate infer
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7bf4832 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e804df8 View commit details
    Browse the repository at this point in the history
  16. infer all different table equal(t1.a=t2.b=t3.c), but not infer when e…

    …qual with literal(t1.a=t2.b=t3.c=1)
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    e376fea View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4b5442f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f665a5d View commit details
    Browse the repository at this point in the history
  19. fix checkstyle

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    72c62ec View commit details
    Browse the repository at this point in the history
  20. add comment

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b12c4c5 View commit details
    Browse the repository at this point in the history
  21. add regression

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    f73fdbc View commit details
    Browse the repository at this point in the history
  22. add boolean getAllPredicates in PullUpPredicates, to avoid redundant …

    …predicates. keep the order of predicates
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7163a40 View commit details
    Browse the repository at this point in the history
  23. fix regression

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    daea1f0 View commit details
    Browse the repository at this point in the history
  24. revert merge filter change(will affect preparestmt), and forbid null …

    …literal in infer, add try catch in generate fitlers
    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    93b8923 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8394f15 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d79f879 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a741ab5 View commit details
    Browse the repository at this point in the history
  28. adjust feut

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    d52a198 View commit details
    Browse the repository at this point in the history
  29. fix feut

    feiniaofeiafei committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9da4846 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6ebca0b View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. fix name expand_graph

    feiniaofeiafei committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    21f4617 View commit details
    Browse the repository at this point in the history