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

Parser: add support for show, create, etc.. statement #61

Open
1 of 2 tasks
xuanyuan300 opened this issue Jun 2, 2022 · 2 comments · Fixed by #162
Open
1 of 2 tasks

Parser: add support for show, create, etc.. statement #61

xuanyuan300 opened this issue Jun 2, 2022 · 2 comments · Fixed by #162
Assignees
Labels
app:pisa-proxy Pisa-Proxy related changes help wanted Extra attention is needed in:parser Parser related changes
Milestone

Comments

@xuanyuan300
Copy link
Contributor

xuanyuan300 commented Jun 2, 2022

Development Task

Add support for show, create, etc.. statement.

  • create
  • show
@xuanyuan300
Copy link
Contributor Author

xuanyuan300 commented Jun 29, 2022

So far, has supported as follows:

  • ShowDatabasesStmt
  • ShowTablesStmt
  • ShowColumnsStmt
  • ShowCreateTable

Also, some frequently used show statements should be supported, as follows:

  • show_create_trigger_stmt
  • show_create_user_stmt
  • show_create_view_stmt
  • show_engines_stmt
  • show_grants_stmt
  • show_keys_stmt
  • show_master_status_stmt
  • show_plugins_stmt
  • show_privileges_stmt
  • show_processlist_stmt
  • show_replica_status_stmt
  • show_replicas_stmt
  • show_status_stmt
  • show_triggers_stmt
  • show_variables_stmt

May be added in the future.

@mlycore mlycore modified the milestones: v0.2.0, v0.3.0 Aug 4, 2022
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhangwanyi <3pH4Kg2RtdDy>
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhangwanyi <3pH4Kg2RtdDy>
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhangwanyi <3pH4Kg2RtdDy>
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhang516307288@163.com
zhang-arvin pushed a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhang516307288@163.com
Signed-off-by: zhangwanyi <3pH4Kg2RtdDy>
zhang-arvin added a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhang-arvin <zhang516307288@163.com>
zhang-arvin added a commit to zhang-arvin/pisanix that referenced this issue Aug 10, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhang-arvin <zhang516307288@163.com>
xuanyuan300 pushed a commit that referenced this issue Aug 11, 2022
2.support show status test sql
3.format dal.rs

Signed-off-by: zhang-arvin <zhang516307288@163.com>

Signed-off-by: zhang-arvin <zhang516307288@163.com>
@wbtlb
Copy link
Contributor

wbtlb commented Aug 11, 2022

create stmt develop task

  • create
  • create_index_stmt
  • create_resource_group_stmt
  • create_role_stmt
  • create_srs_stmt
  • create_table_stmt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:pisa-proxy Pisa-Proxy related changes help wanted Extra attention is needed in:parser Parser related changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants