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

[WIP] [feature] add binder design #35

Closed
wants to merge 1 commit into from
Closed

[WIP] [feature] add binder design #35

wants to merge 1 commit into from

Conversation

fansehep
Copy link
Collaborator

@fansehep fansehep commented Oct 3, 2023

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

#29

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

  1. 加入 CataLog 组件(待讨论) (功能未完善).
  2. 加入 binder 大致框架.

@fansehep
Copy link
Collaborator Author

fansehep commented Oct 3, 2023

cc @Tangruilin PTAL.

Comment on lines +30 to +36
pub fn bind_stmt(&mut self, stmt: Statement) -> Result<LogicalPlan> {
match stmt {
Statement::CreateTable(create_stmt) => self.bind_create_stmt(create_stmt),
Statement::Select(select_stmt) => self.bind_select_stmt(select_stmt),
_ => Err(Error::BinderErr(fmt_err!("not impl statement"))),
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

这里看起来需要加入一个 BindContext 信息, 如果我们要做成 CS 模型, 需要携带上 Server 与 Client 上的一些会话信息, 例如在一个 ReadOnlyTxn, 或者其他的什么操作.

@Tangruilin Tangruilin self-assigned this Oct 6, 2023
@Tangruilin
Copy link
Collaborator

@fansehep 这个 PR 后面交给我来接手吧

@fansehep
Copy link
Collaborator Author

fansehep commented Oct 7, 2023

@fansehep 这个 PR 后面交给我来接手吧

@Tangruilin 看起来不错, 交给你啦 ❤️

@fansehep fansehep closed this by deleting the head repository Feb 29, 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