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

Update planner #50

Closed
wants to merge 2 commits into from
Closed

Update planner #50

wants to merge 2 commits into from

Conversation

fansehep
Copy link
Collaborator

Which issue does this PR solve? (这个 PR 解决了什么问题)

Retionable for this PR Change (这个 PR 做了什么改变)

@fansehep
Copy link
Collaborator Author

@Tangruilin PTAL. we can disscuss here. The basic feature i had finish it.

use super::column::Column;

#[derive(Debug, Clone, PartialEq)]
pub struct Schema {
Copy link
Collaborator

Choose a reason for hiding this comment

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

schema 的概念是用来管理 tables 的,你这里这个 Schema 更类似于 Table 的概念

Copy link
Collaborator

Choose a reason for hiding this comment

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

image
参考 datafusion 的 SchemaProvider,这里应该是 table_names

use super::schema::Schema;

#[derive(Debug)]
pub struct TableInfo {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Table 里面才会去管理 Column 吧
但是你这里这个 Table 看不到 Column 的元信息?

@fansehep
Copy link
Collaborator Author

fansehep commented Feb 1, 2024

Closed by #52, will split multi pr.

@fansehep fansehep closed this Feb 1, 2024
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