-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
OSCPSecretFlow Open Source Contribution PlanSecretFlow Open Source Contribution PlanchallengeSecretFlow Open Source Contribution PlanSecretFlow Open Source Contribution Plan
Description
此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 5 任务 ISSUE,欢迎社区开发者参与共建~
- 认领前,辛苦确认是否完成报名~
- 详细规则:「代码季」详细活动说明
- 更多任务,可查看 「OSCP Phase5 Season of Dev」Project
This ISSUE is one of the tasks of the SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 5. Welcome to join us in building it together!
- Before claiming a task, please make sure you have signed up.
- Activity rules: Detailed activity description of "Season of Dev"
- For more tasks, you can check the "OSCP Phase5 Season of Dev" Project.
任务介绍
- 任务名称:SCDB 支持以 DRY-RUN 模式执行 Query
- 技术方向:SCQL
- 任务难度:进阶🌟🌟
- 任务预估完成时间:4周
- 任务 Reviewer:@tongke6
详细要求
参照 P2P 模式中 Broker 里的 DRY-RUN 模式,为 SCDB 实现同样的 DRY-RUN 能力:只做 query 语法校验和 CCL 校验,不实际执行 query
- 开发要求:请添加必要的单元测试和集成测试,并在 SCDB 模式下验证效果
- 代码规范:GO语言规范可参考:https://github.com/uber-go/guide/blob/master/style.md 整体和现有代码风格保持一致
- 提交说明:开发完成后,关联该 ISSUE 并提交代码至 https://github.com/secretflow/scql
能力要求
- 了解基本 git 操作,熟练使用 Go 语言
- 熟悉 SCQL 的基本工作流程和代码结构
操作说明
- Broker DRY-RUN 参数定义: https://github.com/secretflow/scql/blob/main/api/broker.proto#L230
- DRY-RUN 相关代码逻辑:https://github.com/secretflow/scql/blob/main/pkg/broker/application/app.go#L272
- 建议:可先参考手册体验 P2P 模式,并实际通过curl命令触发 DRY-RUN 模式:https://www.secretflow.org.cn/zh-CN/docs/scql/main/intro/p2p-tutorial
Metadata
Metadata
Assignees
Labels
OSCPSecretFlow Open Source Contribution PlanSecretFlow Open Source Contribution PlanchallengeSecretFlow Open Source Contribution PlanSecretFlow Open Source Contribution Plan
Type
Projects
Status
No status