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

feat: optimise outer joins #16004

Closed
wants to merge 22 commits into from

Commits on May 23, 2024

  1. feat: optimise outer joins

    Allows for pushing projection and LIMIT to the
    RHS of ApplyJoins
    
    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    293b758 View commit details
    Browse the repository at this point in the history
  2. feat: push LIMIT under route

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    85935cc View commit details
    Browse the repository at this point in the history
  3. test: adjust expectations

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    d1647ed View commit details
    Browse the repository at this point in the history
  4. feat: add offset to limit

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    4c7fecc View commit details
    Browse the repository at this point in the history
  5. feat: use different strategy for DML planning

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    807cbc4 View commit details
    Browse the repository at this point in the history
  6. refactor: clean up code

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0cad7f8 View commit details
    Browse the repository at this point in the history
  7. feat: leave LIMIT on top of Route to minimize work

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    5e947c6 View commit details
    Browse the repository at this point in the history
  8. comment to make things easier to understand

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    de61f9a View commit details
    Browse the repository at this point in the history
  9. feat: simplify the addition to a literal

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    6f4261f View commit details
    Browse the repository at this point in the history
  10. test: make sure to report when pushed on both sides

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    5c1cf49 View commit details
    Browse the repository at this point in the history
  11. comment

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    545a5ca View commit details
    Browse the repository at this point in the history
  12. remove unused method

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    eac28dc View commit details
    Browse the repository at this point in the history
  13. refactor: rename method

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    ada3bf7 View commit details
    Browse the repository at this point in the history
  14. chore: don't rewrite if we don't reach a literal

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    ac5e95e View commit details
    Browse the repository at this point in the history
  15. feat: use __upper_limit when we can't calculate literal limit

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    163f9b6 View commit details
    Browse the repository at this point in the history
  16. test: add more end-to-end tests

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    b915f19 View commit details
    Browse the repository at this point in the history
  17. test: update test assertions

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    07d72f4 View commit details
    Browse the repository at this point in the history
  18. wip - added simple projections, but with failing plan tests

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    f6686bc View commit details
    Browse the repository at this point in the history
  19. Allow unaliased columns as long as they align with the aliases

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    67b22cf View commit details
    Browse the repository at this point in the history
  20. faster path for simply renaming columns

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    cc71e57 View commit details
    Browse the repository at this point in the history
  21. test: tidy up test expectations

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    7e21b29 View commit details
    Browse the repository at this point in the history
  22. feat: make sure to respect pure ColName expressions

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed May 23, 2024
    Configuration menu
    Copy the full SHA
    7c2b2ee View commit details
    Browse the repository at this point in the history