Skip to content

refactor: Make planner depends on TableContext trait#7600

Merged
mergify[bot] merged 3 commits into
databendlabs:mainfrom
Xuanwo:make-planner-depends-on-table-context
Sep 14, 2022
Merged

refactor: Make planner depends on TableContext trait#7600
mergify[bot] merged 3 commits into
databendlabs:mainfrom
Xuanwo:make-planner-depends-on-table-context

Conversation

@Xuanwo
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo commented Sep 14, 2022

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

Summary

This PR depends on #7597. Please review after #7597 is merged.


This PR makes the planner depends on the TableContext trait instead of the QueryContext struct.

Make space for the future refactor.

@Xuanwo Xuanwo marked this pull request as draft September 14, 2022 02:08
@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 14, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Sep 14, 2022 at 3:12AM (UTC)

@mergify mergify Bot added the pr-refactor this PR changes the code base without new features or bugfix label Sep 14, 2022
@Xuanwo Xuanwo marked this pull request as ready for review September 14, 2022 02:19
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo force-pushed the make-planner-depends-on-table-context branch from 9a1f0b3 to 5a9fda3 Compare September 14, 2022 02:20
Copy link
Copy Markdown
Contributor

@PsiACE PsiACE left a comment

Choose a reason for hiding this comment

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

lgtm

Comment thread src/query/catalog/src/table_context.rs
@mergify mergify Bot merged commit 1d0b42a into databendlabs:main Sep 14, 2022
@Xuanwo Xuanwo deleted the make-planner-depends-on-table-context branch September 14, 2022 03:39
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.

4 participants