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: add basic support for column privilege #15

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

tiancaiamao
Copy link
Collaborator

What problem does this PR solve?

Some tiny changes to support column level privilege.

What is changed and how it works?

In the old code, addVisitInfo is add in the buildDataSource, there is no column information there.
To support column privilege, the visited column information must be accurate.
So addVisitInfo is moved from buildDataSource to buildProjection where the column is available.

In buildUpdate, the column is set for addVisitInfo.

Check List

Tests

  • Unit test

Side effects

  • Possible performance regression

@bb7133 bb7133 merged commit 95a847e into bb7133:4.0-itai Jul 31, 2020
bb7133 pushed a commit that referenced this pull request Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants