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/core: do not change window ast when building plan #12347

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

alivxxx
Copy link
Contributor

@alivxxx alivxxx commented Sep 24, 2019

What problem does this PR solve?

Do not change the window spec field when building window functions, as there is a special field OnlyAlias that affects restore, it should not be overwritten.

What is changed and how it works?

Do not change the window expr.

Check List

Tests

  • Unit test
    Code changes

  • Has exported function/method change

Side effects

  • None

Related changes

  • None

Release note

  • None

@alivxxx alivxxx added type/bugfix This PR fixes a bug. sig/planner SIG: Planner labels Sep 24, 2019
@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #12347 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #12347   +/-   ##
===========================================
  Coverage   79.6921%   79.6921%           
===========================================
  Files           461        461           
  Lines        101621     101621           
===========================================
  Hits          80984      80984           
  Misses        14813      14813           
  Partials       5824       5824

Copy link
Contributor

@lzmhhh123 lzmhhh123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lzmhhh123 lzmhhh123 added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 24, 2019
@XuHuaiyu
Copy link
Contributor

PTAL @eurekaka @winoros

Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@alivxxx alivxxx added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 26, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Sep 26, 2019

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants