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

refactor: QueryFragmentsPlanPacket should include just setting changes #15095

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

drmingdrmer
Copy link
Member

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

refactor: QueryFragmentsPlanPacket should include just setting changes

There is no need to have the entire Settings in QueryFragmentsPlanPacket.
Only the Settings.changes is used.

And Settings.tenant can not be serde in future, ths
QueryFragmentsPlanPacket can not include a Tenant in it.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Refactoring

Related Issues

@drmingdrmer drmingdrmer requested a review from zhang2014 March 26, 2024 12:40
@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Mar 26, 2024
@drmingdrmer drmingdrmer marked this pull request as ready for review March 26, 2024 12:40
There is no need to have the entire `Settings` in `QueryFragmentsPlanPacket`.
Only the `Settings.changes` is used.

And `Settings.tenant` can not be `serde` in future, ths
`QueryFragmentsPlanPacket` can not include a `Tenant` in it.

- Part of databendlabs#14719
@BohuTANG BohuTANG merged commit e1f225a into databendlabs:main Mar 27, 2024
72 checks passed
@drmingdrmer drmingdrmer deleted the 31-settings branch March 27, 2024 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-refactor this PR changes the code base without new features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants