Skip to content

[release-19.0] Planner Bug: Joins inside derived table (#14974)#15177

Merged
systay merged 3 commits intorelease-19.0from
backport-14974-to-release-19.0
Feb 26, 2024
Merged

[release-19.0] Planner Bug: Joins inside derived table (#14974)#15177
systay merged 3 commits intorelease-19.0from
backport-14974-to-release-19.0

Conversation

@vitess-bot
Copy link
Copy Markdown
Contributor

@vitess-bot vitess-bot bot commented Feb 8, 2024

Description

This is a backport of #14974

Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Andrés Taylor <andres@taylor.se>
Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
Co-authored-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
@vitess-bot
Copy link
Copy Markdown
Contributor Author

vitess-bot bot commented Feb 8, 2024

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • Ensure there is a link to an issue (except for internal cleanup and flaky test fixes), new features should have an RFC that documents use cases and test cases.

Tests

  • Bug fixes should have at least one unit or end-to-end test, enhancement and new features should have a sufficient number of tests.

Documentation

  • Apply the release notes (needs details) label if users need to know about this change.
  • New features should be documented.
  • There should be some code comments as to why things are implemented the way they are.
  • There should be a comment at the top of each new or modified test to explain what the test does.

New flags

  • Is this flag really necessary?
  • Flag names must be clear and intuitive, use dashes (-), and have a clear help text.

If a workflow is added or modified:

  • Each item in Jobs should be named in order to mark it as required.
  • If the workflow needs to be marked as required, the maintainer team must be notified.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • RPC changes should be compatible with vitess-operator
  • If a flag is removed, then it should also be removed from vitess-operator and arewefastyet, if used there.
  • vtctl command output order should be stable and awk-able.

@github-actions github-actions bot added this to the v19.0.0 milestone Feb 8, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 8, 2024

Codecov Report

Attention: Patch coverage is 86.72566% with 45 lines in your changes are missing coverage. Please review.

Project coverage is 67.31%. Comparing base (b317589) to head (c0e5eef).
Report is 5 commits behind head on release-19.0.

Files Patch % Lines
...vtgate/planbuilder/operators/projection_pushing.go 90.58% 21 Missing ⚠️
go/vt/vtgate/planbuilder/operators/apply_join.go 33.33% 12 Missing ⚠️
go/vt/vtgate/planbuilder/operators/route.go 85.18% 4 Missing ⚠️
...vt/vtgate/planbuilder/operators/offset_planning.go 71.42% 2 Missing ⚠️
...vtgate/planbuilder/plancontext/planning_context.go 94.59% 2 Missing ⚠️
go/vt/sqlparser/ast_funcs.go 0.00% 1 Missing ⚠️
go/vt/vtgate/planbuilder/operators/SQL_builder.go 88.88% 1 Missing ⚠️
go/vt/vtgate/planbuilder/operators/aggregator.go 75.00% 1 Missing ⚠️
go/vt/vtgate/planbuilder/operators/subquery.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-19.0   #15177      +/-   ##
================================================
- Coverage         67.36%   67.31%   -0.05%     
================================================
  Files              1559     1560       +1     
  Lines            192103   194530    +2427     
================================================
+ Hits             129402   130949    +1547     
- Misses            62701    63581     +880     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GrahamCampbell
Copy link
Copy Markdown
Contributor

CI failing?

…974-to-release-19.0

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay force-pushed the backport-14974-to-release-19.0 branch from 4dabaa1 to c5b2a2c Compare February 21, 2024 07:18
@systay systay mentioned this pull request Feb 26, 2024
38 tasks
Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay merged commit 3965839 into release-19.0 Feb 26, 2024
@systay systay deleted the backport-14974-to-release-19.0 branch February 26, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants